diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 753a76d..e438a42 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,6 +57,9 @@ jobs: - name: 'Install dotnet' uses: actions/setup-dotnet@v5 with: + dotnet-version: | + 8.x + 10.x global-json-file: global.json - name: 'Restore packages' diff --git a/.github/workflows/publish_nuget.yml b/.github/workflows/publish_nuget.yml index b901b01..40b10e1 100644 --- a/.github/workflows/publish_nuget.yml +++ b/.github/workflows/publish_nuget.yml @@ -29,6 +29,9 @@ jobs: - name: 'Install dotnet' uses: actions/setup-dotnet@v5 with: + dotnet-version: | + 8.x + 10.x global-json-file: global.json - name: 'Restore packages' @@ -38,7 +41,7 @@ jobs: run: dotnet build --no-restore --configuration Release - name: Test - run: dotnet test --logger "trx;LogFileName=test-results.trx" --no-restore || true + run: dotnet test --logger "trx;LogFileName=test-results.trx" --no-restore - name: Test Report uses: dorny/test-reporter@v1 diff --git a/Directory.Build.props b/Directory.Build.props index 60e50e3..7000a53 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - net8.0;netstandard2.0;netstandard2.1; + net10.0;net8.0;netstandard2.1;netstandard2.0 12 true 1591;xUnit1051 diff --git a/MessagePack.NodaTime.Tests/MessagePack.NodaTime.Tests.csproj b/MessagePack.NodaTime.Tests/MessagePack.NodaTime.Tests.csproj index afbcdb6..074f112 100644 --- a/MessagePack.NodaTime.Tests/MessagePack.NodaTime.Tests.csproj +++ b/MessagePack.NodaTime.Tests/MessagePack.NodaTime.Tests.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0;net8.0 diff --git a/global.json b/global.json index 2ec29f0..f72210c 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.416", + "version": "10.0.100", "rollForward": "latestFeature" } } \ No newline at end of file