chore: use magic-nix-cache instead of cachix

This removes one dependency of the project, by moving the Nix cache
store into Github. There is no expected speed up, except for lower
latency between the actions runner and the cache store.
This commit is contained in:
Cainã Costa 2023-06-28 11:06:33 -03:00
parent 1c7b8e0286
commit 592ece5e27
No known key found for this signature in database
GPG Key ID: 330BF4A16FA609D3
1 changed files with 3 additions and 6 deletions

View File

@ -18,13 +18,10 @@ jobs:
ssh-key: ${{ secrets.WORKFLOW_SSH_KEY }} ssh-key: ${{ secrets.WORKFLOW_SSH_KEY }}
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v20 uses: DeterminateSystems/nix-installer-action@v4
- name: Setup Cachix - name: Run the Magic Nix Cache
uses: cachix/cachix-action@v12 uses: DeterminateSystems/magic-nix-cache-action@v1
with:
name: aiken-lang
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run cargo2nix - name: Run cargo2nix
shell: bash shell: bash