diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4a51353..b37f788 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: dotnet restore source - run: dotnet build --no-restore source - run: dotnet test source /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --logger "GitHubActions;report-warnings=false" diff --git a/.github/workflows/PreRelease.yml b/.github/workflows/PreRelease.yml index f725d48..22d1f76 100644 --- a/.github/workflows/PreRelease.yml +++ b/.github/workflows/PreRelease.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV @@ -19,8 +19,8 @@ jobs: id: gitversion with: useConfigFile: true - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: dotnet pack source /p:Version=${{ steps.gitversion.outputs.NuGetVersionV2 }}-${{ steps.gitversion.outputs.ShortSha }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/$GITHUB_REPOSITORY/releases/tag/${{ steps.gitversion.outputs.NuGetVersionV2 }}" -o ./releases - run: dotnet nuget push ./releases/**/*.nupkg -k=${{ secrets.NUGETORGAPIKEY }} -s=nuget.org diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 26c0bad..8b9d611 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV @@ -21,9 +21,9 @@ jobs: with: useConfigFile: true - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Pack run: dotnet pack source /p:Version=${{ steps.gitversion.outputs.majorMinorPatch }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/$GITHUB_REPOSITORY/releases/tag/${{ steps.gitversion.outputs.majorMinorPatch }}" -o ./releases - name: Publish diff --git a/samples/With/With.csproj b/samples/With/With.csproj index 02fa076..38f42b7 100644 --- a/samples/With/With.csproj +++ b/samples/With/With.csproj @@ -1,14 +1,14 @@ - net9.0 + net10.0 enable - - - + + + diff --git a/samples/Without/Without.csproj b/samples/Without/Without.csproj index 85cf14a..10b4f98 100644 --- a/samples/Without/Without.csproj +++ b/samples/Without/Without.csproj @@ -1,13 +1,13 @@ - net9.0 + net10.0 enable - - - + + + diff --git a/source/MinimalHttpLogger/MinimalHttpLogger.csproj b/source/MinimalHttpLogger/MinimalHttpLogger.csproj index 4e67efd..9779534 100644 --- a/source/MinimalHttpLogger/MinimalHttpLogger.csproj +++ b/source/MinimalHttpLogger/MinimalHttpLogger.csproj @@ -1,7 +1,7 @@ - net9.0 + net9.0;net10.0 enable latest enable @@ -16,16 +16,18 @@ https://github.com/johnkors/MinimalHttpLogging - - 9.0.0 - - - + + + + + + - - - - + + + + +