diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml index 6339bc9..aaea05e 100644 --- a/.github/workflows/go-ci.yml +++ b/.github/workflows/go-ci.yml @@ -13,9 +13,10 @@ name: Go CI # secrets: inherit # # The matrix tests + the latest stable Go across -# ubuntu-22.04 / macos-14 / windows-2022. Static checks (vet, gofmt, +# ubuntu-22.04 / macos-15 / windows-2022. Static checks (vet, gofmt, # go mod tidy) and govulncheck run once, on the latest-Go Linux leg; # coverage uploads run on the floor Linux leg (the established report leg). +# Runner images select CI hosts, not the modules' minimum Go or supported OS versions. # Callers must grant contents: read and id-token: write to the calling job; # Codecov authenticates the short-lived GitHub OIDC identity, not a stored token. # @@ -94,7 +95,7 @@ jobs: matrix: vm-os: - ubuntu-22.04 - - macos-14 + - macos-15 - windows-2022 go-version: - "${{ inputs.go-floor }}.x" diff --git a/CLAUDE.md b/CLAUDE.md index 8042e28..701dccf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,9 +63,11 @@ surface, revive = GoDoc. ## go-ci.yml design (the part that matters when editing) -- Matrix: `[.x, 1.27.x] × {ubuntu-22.04, macos-14, windows-2022}`. +- Matrix: `[.x, 1.27.x] × {ubuntu-22.04, macos-15, windows-2022}`. Resolve the latest patch with `check-latest: true`; a runner's cached patch can be older than the consumer's minimum secure Go version. + Runner images select CI hosts; they do not change a module's declared Go + floor or supported OS baseline. - Two env-flag legs: **`IS_CHECKS`** (latest Go + Linux) runs the once-only static checks (vet/gofmt/tidy/govulncheck/doccov); **`IS_REPORT`** (floor + Linux) runs `make ci` coverage upload + the covcheck/footprint gates (floor for comparable diff --git a/README.md b/README.md index 2a65813..e86cc15 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,15 @@ jobs: secrets: inherit ``` -It runs the matrix `[.x, 1.25.x] × {ubuntu-22.04, macos-14, +It runs the matrix `[.x, 1.27.x] × {ubuntu-22.04, macos-15, windows-2022}`. Static checks (vet, gofmt, `go mod tidy`, govulncheck, doccov) run once on the latest-Go Linux leg; coverage upload + the covcheck/footprint gates run on the floor Linux leg. +Runner images select CI hosts; they do not change a module's declared Go floor +or supported OS baseline. The `macos-15` leg replaces the `macos-14` image +[retired by GitHub on November 2, 2026](https://github.blog/changelog/2026-10-01-github-actions-macos-14-runner-image-retirement/). + ### Inputs | Input | Type | Default | Meaning |