diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index e6af3a7..a352993 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,18 +3,18 @@ "isRoot": true, "tools": { "dotnet-sonarscanner": { - "version": "9.0.0", + "version": "9.0.2", "commands": [ "dotnet-sonarscanner" ], "rollForward": false }, "nbgv": { - "version": "3.6.143", + "version": "3.7.112", "commands": [ "nbgv" ], "rollForward": false } } -} \ No newline at end of file +} diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 810812a..5ee4040 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -11,7 +11,7 @@ updates: reviewers: - "dnperfors" - package-ecosystem: "github-actions" - directory: ".github/" + directory: "/" schedule: interval: "daily" reviewers: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e60cae8..00c3286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x 9.0.x - include-prerelease: true - name: Dump .NET info run: dotnet --info - name: Restore dotnet tools @@ -45,7 +43,7 @@ jobs: - name: Build source code run: dotnet build --configuration Release --no-restore - name: Test with dotnet - run: dotnet test --configuration Release --no-build --collect="Code Coverage" --framework="net6.0" + run: dotnet test --configuration Release --no-build --collect="Code Coverage" --framework="net8.0" - name: Upload sonarqube results if: ${{ github.actor != 'dependabot[bot]' }} env: @@ -69,7 +67,7 @@ jobs: testOnSupportedDotnetVersions: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-22.04, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -80,10 +78,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x 9.0.x - include-prerelease: true - name: Dump .NET info run: dotnet --info - name: Restore dependencies @@ -105,7 +101,6 @@ jobs: with: dotnet-version: | 9.0.x - include-prerelease: true - uses: actions/download-artifact@v4 with: name: artifacts diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index de69e5f..a9e509b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -19,19 +19,17 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch all history for all tags and branches run: git fetch --prune --unshallow - name: Setup .NET versions - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x 9.0.x - include-prerelease: true - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: queries: security-and-quality languages: csharp @@ -39,4 +37,4 @@ jobs: - name: Build source code run: dotnet build --configuration Release --framework net8.0 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 91f4e92..7240575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.12] - unplanned +### Removed +- .NET 6.0 target, since it is no longer supported ### Added - Support for .NET 9.0 diff --git a/src/TestableHttpClient/TestableHttpClient.csproj b/src/TestableHttpClient/TestableHttpClient.csproj index 01b284e..1c462a4 100644 --- a/src/TestableHttpClient/TestableHttpClient.csproj +++ b/src/TestableHttpClient/TestableHttpClient.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0;net8.0;net9.0 + netstandard2.0;net8.0;net9.0 @@ -24,7 +24,7 @@ true snupkg full - + true https://github.com/testablehttpclient/TestableHttpClient git @@ -39,16 +39,12 @@ - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/test/Directory.Build.targets b/test/Directory.Build.targets index 3f0e4b5..d87f3d0 100644 --- a/test/Directory.Build.targets +++ b/test/Directory.Build.targets @@ -1,8 +1,7 @@ - - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/TestableHttpClient.IntegrationTests/TestableHttpClient.IntegrationTests.csproj b/test/TestableHttpClient.IntegrationTests/TestableHttpClient.IntegrationTests.csproj index 53f20cc..9f5f726 100644 --- a/test/TestableHttpClient.IntegrationTests/TestableHttpClient.IntegrationTests.csproj +++ b/test/TestableHttpClient.IntegrationTests/TestableHttpClient.IntegrationTests.csproj @@ -1,19 +1,13 @@  - net462;net47;net48;net6.0;net8.0;net9.0 + net462;net47;net48;net8.0;net9.0 - - - - - - diff --git a/test/TestableHttpClient.Tests/TestableHttpClient.Tests.csproj b/test/TestableHttpClient.Tests/TestableHttpClient.Tests.csproj index 1d7c36f..a808876 100644 --- a/test/TestableHttpClient.Tests/TestableHttpClient.Tests.csproj +++ b/test/TestableHttpClient.Tests/TestableHttpClient.Tests.csproj @@ -1,15 +1,15 @@ - net462;net47;net48;net6.0;net8.0;net9.0 + net462;net47;net48;net8.0;net9.0 - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive