diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fc4f10..3cb052d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,15 +29,14 @@ jobs: with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v5.0.1 + uses: actions/setup-dotnet@v5.1.0 with: - dotnet-version: | - 8.0.x + global-json-file: global.json - name: Build run: dotnet build src --configuration Release - name: Upload packages if: matrix.name == 'Windows' - uses: actions/upload-artifact@v5.0.0 + uses: actions/upload-artifact@v6.0.0 with: name: NuGet packages path: nugets/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07ab34f..d87e41c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v5.0.1 + uses: actions/setup-dotnet@v5.1.0 with: - dotnet-version: 7.0.x + global-json-file: global.json - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages @@ -31,7 +31,7 @@ jobs: client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }} certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }} - name: Publish artifacts - uses: actions/upload-artifact@v5.0.0 + uses: actions/upload-artifact@v6.0.0 with: name: nugets path: nugets/* diff --git a/global.json b/global.json index 2134ed9..859752a 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.400", + "version": "10.0.0", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/src/ServiceControl.Contracts.Tests/ServiceControl.Contracts.Tests.csproj b/src/ServiceControl.Contracts.Tests/ServiceControl.Contracts.Tests.csproj index ce4c0c2..efa9a0a 100644 --- a/src/ServiceControl.Contracts.Tests/ServiceControl.Contracts.Tests.csproj +++ b/src/ServiceControl.Contracts.Tests/ServiceControl.Contracts.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0