diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1d9ac5..c48c6ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,19 +25,18 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.1 + uses: actions/setup-dotnet@v5.0.1 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@v4.4.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 819340d..9ea420b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.1 + uses: actions/setup-dotnet@v5.0.1 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@v4.4.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 c1c5a8c..d23e396 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