Skip to content

ci: pin runner images (ubuntu-24.04, windows-2025) - #27

Merged
Chookees merged 1 commit into
mainfrom
ci/pin-runners
Oct 14, 2026
Merged

Chookees merged 1 commit into
mainfrom
ci/pin-runners

Conversation

@Chookees

Copy link
Copy Markdown
Owner

Why

GitHub is moving ubuntu-latest from 24.04 to 26.04 between 19 Oct and 19 Nov 2026. Leaving the matrix on floating *-latest labels means CI can suddenly change OS under us. Format check, coverage gate, pack, and artifact upload are gated with if: matrix.os == '…', so those labels must match the matrix exactly — if they still say ubuntu-latest after the matrix is pinned, those steps are silently skipped.

What changed

  • CI matrix: [ubuntu-24.04, windows-2025] (replacing ubuntu-latest / windows-latest)
  • Matching if: conditions updated to ubuntu-24.04 in the same commit
  • dependency-review and Publish NuGet jobs run on ubuntu-24.04
  • All uses: actions pinned to full 40-char SHAs with version comments

Why this works

Pinned labels stop the upcoming ubuntu-latest flip from changing our runners. Keeping the if: 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.

Open in Web Open in Cursor 

@Chookees
Chookees marked this pull request as ready for review October 14, 2026 11:23
@Chookees
Chookees merged commit 23a43d5 into main Oct 14, 2026
6 checks passed
@Chookees
Chookees deleted the ci/pin-runners branch October 14, 2026 23:09
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.

2 participants