mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-19 05:29:46 +08:00
- 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.
20 lines
659 B
YAML
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 }}
|