Files
scriptc/.github/actions/zig/action.yml
Chris Tate 18c9a4233b perf: shorten native bootstrap and cache CI toolchains
- Reuse decoded AST nodes, parent references, and recursive class type analysis during compilation.
- Split expression and library validation into smaller functions while preserving diagnostics.
- Shorten sanitizer bootstrap and reuse verified CI toolchains.
2026-09-30 15:12:04 -05:00

20 lines
659 B
YAML

name: Pinned Zig
description: Reuse the verified Zig installation across hosted runners
runs:
using: composite
steps:
- uses: actions/cache/restore@v4
id: zig
with:
path: ${{ runner.tool_cache }}/zig/0.16.0
key: zig-0.16.0-${{ runner.os }}-${{ runner.arch }}-minisign-v1
# The installer checks the verified marker and runs `zig version` on hits.
- uses: vercel-labs/setup-zig@v1
with:
version: 0.16.0
- uses: actions/cache/save@v4
if: steps.zig.outputs.cache-hit != 'true'
with:
path: ${{ runner.tool_cache }}/zig/0.16.0
key: ${{ steps.zig.outputs.cache-primary-key }}