Merge pull request #196 from thiagokokada/fix-nix-community-cache

Fix nix-community cache on CI
This commit is contained in:
Thiago Kenji Okada
2022-07-08 12:34:42 +01:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@ -16,7 +16,9 @@ jobs:
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
extra_nix_config: |
extra-substituters = https://nix-community.cachix.org
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
- name: Retrieve /nix/store archive
uses: actions/cache@v3
id: cache-nix-store

View File

@ -14,7 +14,9 @@ jobs:
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
extra_nix_config: |
extra-substituters = https://nix-community.cachix.org
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
- name: Create PRs for dependencies
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -45,7 +47,9 @@ jobs:
fetch-depth: 0
- uses: cachix/install-nix-action@v17
with:
name: nix-community
extra_nix_config: |
extra-substituters = https://nix-community.cachix.org
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
- name: Run test_dep_update
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}