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 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: cachix/install-nix-action@v20 - name: Install Nix
with: uses: DeterminateSystems/nix-installer-action@v4
github_access_token: ${{ secrets.GITHUB_TOKEN }} - name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: nix flake check - name: nix flake check
run: | run: |
nix flake check --no-build nix flake check --no-build