Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ name: Go CI
# secrets: inherit
#
# The matrix tests <go-floor> + 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.
#
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
matrix:
vm-os:
- ubuntu-22.04
- macos-14
- macos-15
- windows-2022
go-version:
- "${{ inputs.go-floor }}.x"
Expand Down
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ surface, revive = GoDoc.

## go-ci.yml design (the part that matters when editing)

- Matrix: `[<go-floor>.x, 1.27.x] × {ubuntu-22.04, macos-14, windows-2022}`.
- Matrix: `[<go-floor>.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
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ jobs:
secrets: inherit
```

It runs the matrix `[<go-floor>.x, 1.25.x] × {ubuntu-22.04, macos-14,
It runs the matrix `[<go-floor>.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 |
Expand Down
Loading