Skip to content

Commit 82234c2

Browse files
committed
Add missing cachix setup step
1 parent 08eee47 commit 82234c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

template/{% if github_actions %}.github{% endif %}/workflows/{% if nix %}nix.yml{% endif %}.jinja

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636
- uses: cachix/install-nix-action@v18
3737
with:
3838
nix_path: ${{ env.NIX_CHANNEL }}
39+
# Remove bellow step if you do not want to use Cachix - Nix binary cache.
40+
# For OpenSource projects there is free 5GB of storage.
41+
# https://www.cachix.org
42+
- name: Setup Cachix ❄️
43+
uses: cachix/cachix-action@v12
44+
with:
45+
name: fastapi-mvc
46+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
3947
- uses: actions/checkout@v3
4048
- name: Check format
4149
run: nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt --check .'

0 commit comments

Comments
 (0)