Skip to content

Commit c243d28

Browse files
committed
ci: exclude macos-latest + Go 1.22.x (LC_UUID linker bug)
With fail-fast disabled, the matrix showed 8/9 cells green; the only real failure is macos-latest + Go 1.22.x, whose linker emits a -race test binary missing the LC_UUID load command that macOS dyld requires (golang/go#61229). Fixed in Go 1.23+, so exclude just that combo -- macOS keeps 1.23/1.24 coverage and 1.22 stays covered on Linux/Windows.
1 parent d094cc4 commit c243d28

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
go-version: [1.22.x, 1.23.x, 1.24.x]
18+
exclude:
19+
# Go 1.22's linker produces a -race test binary without an LC_UUID
20+
# load command on the current macOS runners, which dyld refuses to
21+
# load (golang/go#61229). Fixed in Go 1.23+, so keep macOS coverage
22+
# there; 1.22 is still covered on Linux and Windows.
23+
- os: macos-latest
24+
go-version: 1.22.x
1825
name: go-test
1926
runs-on: ${{ matrix.os }}
2027
steps:

0 commit comments

Comments
 (0)