From 04198617ee8be6192b22bd4d1384efb123bf18fc Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 13 Nov 2025 18:19:55 +0800 Subject: [PATCH] Update .NET version & drop setup steps to fix CI Updated .NET9.x minor version and dropped setup-.NET steps in GitHubActions in order to fix CI build of the `docs` job. Somehow, on the same day as the .NETv10 release, our CI started failing without changing anything (thanks to our `on: schedule: cron:` trigger we detected this, as it runs daily), but only in the docs job. After some discussion about Fornax in PRs 770 and 779 (given that we updated this dep in PR#767 recently), it was discovered that the default .NET version of current GitHubActions agents works out of of the box without needing to run any setup-dotnet action. So then, rather than just removing the step in the docs job, let's remove it from all of them to be consistent; and we might revisit this decision in the future if/when the default versions change again (which might make CI jobs fail again). Co-authored-by: Richard Webb --- .github/workflows/build+test+deploy.yml | 13 ------------- global.json | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/build+test+deploy.yml b/.github/workflows/build+test+deploy.yml index 9033279ff..10798ee27 100644 --- a/.github/workflows/build+test+deploy.yml +++ b/.github/workflows/build+test+deploy.yml @@ -27,10 +27,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - global-json-file: global.json - name: Restore tools run: dotnet tool restore - name: Restore dependencies @@ -49,10 +45,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - global-json-file: global.json - name: Restore tools run: dotnet tool restore - name: Build @@ -104,11 +96,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - global-json-file: global.json - - name: Restore tools run: dotnet tool restore - name: Restore dependencies diff --git a/global.json b/global.json index a4155b168..5c03259d7 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.201", + "version": "9.0.306", "rollForward": "disable" } }