Skip to content

Commit

Permalink
ci: enable caching on flake update branches
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Sep 4, 2024
1 parent fac4a8c commit d492191
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: cachix/cachix-action@v15
with:
name: crane
authToken: ${{ github.ref == 'refs/heads/master' && secrets.CACHIX_AUTH_TOKEN || '' }}
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: flake checks
run: nix develop --accept-flake-config --command ./ci/fast-flake-check.sh . ${{ matrix.nixpkgs-override }}
- name: extra tests
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: cachix/cachix-action@v15
with:
name: crane
authToken: ${{ github.ref == 'refs/heads/master' && secrets.CACHIX_AUTH_TOKEN || '' }}
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: validate examples
# Nix won't write a lockfile when --override-input is used (which is good because it will
# complain that the lock file is .gitignored), but nix-eval-jobs doesn't, so we'll have to
Expand All @@ -106,7 +106,7 @@ jobs:
- uses: cachix/cachix-action@v15
with:
name: crane
authToken: ${{ github.ref == 'refs/heads/master' && secrets.CACHIX_AUTH_TOKEN || '' }}
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: validate examples
# Nix won't write a lockfile when --override-input is used (which is good because it will
# complain that the lock file is .gitignored), but nix-eval-jobs doesn't, so we'll have to
Expand Down

0 comments on commit d492191

Please sign in to comment.