Add nix-community cache to GH Actions

This commit is contained in:
Thiago Kenji Okada
2022-07-07 21:30:05 +01:00
parent 1f802f3d2c
commit a3a2410709
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,8 @@ jobs:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
- name: Retrieve /nix/store archive
uses: actions/cache@v3
id: cache-nix-store

View File

@ -13,6 +13,8 @@ jobs:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
- name: Create PRs for dependencies
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -42,6 +44,8 @@ jobs:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
- name: Run test_dep_update
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}