Skip to content

Commit

Permalink
CI: Use the correct cache for the nix flake check.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirTalwar committed Nov 3, 2023
1 parent 642b953 commit 339fdcf
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/nix-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@ jobs:
name: nix flake check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@v6

- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install Nix ❄
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up the Nix Cache 🔌
uses: cachix/cachix-action@v12
with:
name: hasura-v3-dev
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}

- name: nix flake check
run: |
Expand Down

0 comments on commit 339fdcf

Please sign in to comment.