Repository navigation
ci: pin runner images (ubuntu-24.04, windows-2025) - #27
Merged
Merged
Conversation
Co-authored-by: Artur B. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
GitHub is moving
ubuntu-latestfrom 24.04 to 26.04 between 19 Oct and 19 Nov 2026. Leaving the matrix on floating*-latestlabels means CI can suddenly change OS under us. Format check, coverage gate, pack, and artifact upload are gated withif: matrix.os == '…', so those labels must match the matrix exactly — if they still sayubuntu-latestafter the matrix is pinned, those steps are silently skipped.What changed
[ubuntu-24.04, windows-2025](replacingubuntu-latest/windows-latest)if:conditions updated toubuntu-24.04in the same commitdependency-reviewand Publish NuGet jobs run onubuntu-24.04uses:actions pinned to full 40-char SHAs with version commentsWhy this works
Pinned labels stop the upcoming
ubuntu-latestflip from changing our runners. Keeping theif:strings identical to the matrix label in one commit ensures Verify formatting, coverage, Pack, and Upload artifacts still run on the Linux job instead of being skipped.