Skip to content

Commit 9467aa0

Browse files
authored
Use Magic Nix Cache (#6)
1 parent 76c7b8a commit 9467aa0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
tests:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2.4.0
10-
- uses: cachix/install-nix-action@v15
11-
with:
12-
extra_nix_config: |
13-
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
14-
- run: nix build
15-
- run: nix flake check
9+
- uses: actions/checkout@v3
10+
- name: Install Nix
11+
uses: DeterminateSystems/nix-installer-action@v4
12+
- name: Magic Nix Cache
13+
uses: DeterminateSystems/magic-nix-cache-action@v1
14+
- name: Test flake output
15+
run: nix flake check

0 commit comments

Comments
 (0)