Skip to content

Commit be42f7c

Browse files
justsmthclaude
andcommitted
ci: pin remaining zig runner images and log image in self-test
Pin ubuntu-latest -> ubuntu-24.04 and macos-latest -> macos-15 so silent runner-image rollovers (which is what just broke windows-latest) can't break this workflow without a deliberate bump. Echo ImageOS/ImageVersion at the top of the self-test step so the runner image is visible right next to any failure rather than buried in the collapsed "Set up job" group. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent bc0869e commit be42f7c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/zig.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- host: windows-2022
2525
target_arch: x86_64
2626
target_system: Windows
27-
- host: ubuntu-latest
27+
- host: ubuntu-24.04
2828
target_arch: x86_64
2929
target_system: Linux
30-
- host: macos-latest
30+
- host: macos-15
3131
target_arch: aarch64
3232
target_system: Darwin
3333
steps:
@@ -68,6 +68,10 @@ jobs:
6868
# Each step runs unconditionally (no `set -e`) so we see results from
6969
# every stage even when an earlier one fails. The wrapper reports
7070
# zig's real exit status (including 139 for SIGSEGV) on failure.
71+
# Log the runner image up front so a `*-latest` rollover (or our own
72+
# pin bump) is correlated with any new failure without having to dig
73+
# through the collapsed "Set up job" group.
74+
echo "=== runner image: ${ImageOS:-unknown} ${ImageVersion:-unknown} ==="
7175
set -x
7276
probe() {
7377
echo "=== probe: $* ==="

0 commit comments

Comments
 (0)