Skip to content

Commit 18d764b

Browse files
kkweonclaude
andcommitted
ci: keep status check names stable across Go version bumps
Job had no explicit name, so GitHub derived the check name from the job id plus matrix values (`test (1.26, ubuntu-latest)`). Branch protection matches contexts by exact string, so every Go version bump renamed the checks and left the required contexts stale — and a required context that is never reported blocks the PR silently as "Expected", rather than failing. Drop go-version from the matrix and read it from go.mod instead, so the check names become `test (ubuntu-latest)` / `test (macos-latest)` and no longer track the toolchain version. go.mod already pins go 1.26, so the Go version in CI is unchanged. Also move checkout ahead of setup-go, which go-version-file requires, add fail-fast: false so one platform failing no longer cancels the other before its logs are available, and bump checkout v4 -> v7 and setup-go v5 -> v7. Required status checks must be updated to the new names after this merges, otherwise every later PR stays pending. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent b9e6a61 commit 18d764b

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@ name: CI
77
jobs:
88
test:
99
strategy:
10+
fail-fast: false
1011
matrix:
11-
go-version:
12-
- '1.26'
1312
os:
1413
- ubuntu-latest
1514
- macos-latest
1615
runs-on: ${{ matrix.os }}
1716
steps:
18-
- name: Install Go ${{ matrix.go-version }}
19-
uses: actions/setup-go@v5
17+
- uses: actions/checkout@v7
18+
- name: Install Go
19+
uses: actions/setup-go@v7
2020
with:
21-
go-version: ${{ matrix.go-version }}
22-
- uses: actions/checkout@v4
21+
go-version-file: go.mod
2322
- run: make install-kiwi
2423
- run: make test
25-

0 commit comments

Comments
 (0)