Skip to content

Commit

Permalink
ci: enable Nix caching (#22)
Browse files Browse the repository at this point in the history
* ci: enable Nix caching

* fix(ci): specify primary key for Nix cache
  • Loading branch information
AshesOfEther authored Mar 27, 2024
1 parent 5bf6a8f commit 8925c3b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ jobs:
steps:
- uses: actions/[email protected]

- uses: cachix/install-nix-action@v25
- uses: nixbuild/nix-quick-install-action@v27

- uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}

- name: build-stregsystemet
run: nix build .#stregsystemet

0 comments on commit 8925c3b

Please sign in to comment.