Skip to content

Conversation

@knocte
Copy link
Collaborator

@knocte knocte commented Nov 13, 2025

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).

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 <richard.webb@helpsystems.com>
@knocte knocte merged commit bf543ab into fsprojects:master Nov 13, 2025
6 checks passed
knocte added a commit to knocte/FSharpLint that referenced this pull request Nov 14, 2025
Recent fix [1] for our scheduled CI build didn't last long.
Suddenly the "Restore tools" step (`dotnet tool restore`)
started failing in Linux because the GithubActions agent's
dotnet version was apparently upgraded from 9.0.306 to
9.0.307. Given this, the most sensible approach to fix this
is revisit our RollForward policy, which was disabled in a
recent PR [2] because of apparent issues when upgrading our
docs generation.

That issue seems to not be happenning anymore because our
CIs are green even when we upgraded to a .NET version newer
than 9.0.300 (maybe thanks to our Fornax dependency upgrade?),
so it seems safe to restore to a "Minor" setting here.

[1] fsprojects#780
[2] fsprojects#736
knocte added a commit that referenced this pull request Nov 14, 2025
Recent fix [1] for our scheduled CI build didn't last long.
Suddenly the "Restore tools" step (`dotnet tool restore`)
started failing in Linux because the GithubActions agent's
dotnet version was apparently upgraded from 9.0.306 to
9.0.307. Given this, the most sensible approach to fix this
is revisit our RollForward policy, which was disabled in a
recent PR [2] because of apparent issues when upgrading our
docs generation.

That issue seems to not be happenning anymore because our
CIs are green even when we upgraded to a .NET version newer
than 9.0.300 (maybe thanks to our Fornax dependency upgrade?),
so it seems safe to restore to a "Minor" setting here.

[1] #780
[2] #736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant