Skip to content

Commit

Permalink
ci: add magic-nix-cache-action
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkukla committed Mar 19, 2024
1 parent e28c731 commit 392fa46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install nix-fast-build
# NOTE: Don't use 'nix run' for nix-fast-build. We don't want to cache the nix-fast-build derivation.
run: nix profile install github:Mic92/nix-fast-build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install nix-fast-build
# NOTE: Don't use 'nix run' for nix-fast-build. We don't want to cache the nix-fast-build derivation.
run: nix profile install github:Mic92/nix-fast-build
Expand Down

0 comments on commit 392fa46

Please sign in to comment.