Skip to content

Commit

Permalink
ci: detsys magic nix cache for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hraban committed Nov 24, 2024
1 parent 82a9b4a commit 0da8966
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ jobs:
nix:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
substituters = https://cl-nix-lite.cachix.org https://cache.nixos.org/
trusted-public-keys = cl-nix-lite.cachix.org-1:ab6+b0u2vxymMLcZ5DDqPKnxz0WObbMszmC+BDBHpFc= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v16
- name: Configure Nix cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Flake
run: nix build

Expand Down

0 comments on commit 0da8966

Please sign in to comment.