Skip to content

Commit

Permalink
cache zig in ci (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline authored May 13, 2024
1 parent 764a8c2 commit b5c356d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build Nix
run: nix build -j8 .#devShells.x86_64-linux.default
- name: Zig Cache
uses: actions/cache@v4
with:
path: rose-zig/zig-cache
key: ${{ runner.os }}-rose-zig
save-always: true
- name: Typecheck
if: success() || failure() # Means that we run all steps even if one fails.
run: nix develop --command make typecheck
Expand Down

0 comments on commit b5c356d

Please sign in to comment.