Skip to content

Commit

Permalink
cache zig in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed May 13, 2024
1 parent 764a8c2 commit b2ca2b7
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 b2ca2b7

Please sign in to comment.