Use DeterminateSystems/magic-nix-cache-action

Should significantely increase build times
This commit is contained in:
Moritz 'e1mo' Fromm 2023-07-24 18:24:35 +02:00
parent 6bdafe2bbe
commit f445723cd4
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -12,9 +12,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: nix flake check
run: |
nix flake check --no-build