fix(ci): Disable nix cache on pull requests
This commit is contained in:
parent
b7ac9c9c55
commit
1d8da6388c
1 changed files with 2 additions and 1 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
@ -15,7 +15,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@v9
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v3
|
||||
- if: ${{ github.event_name != 'pull_request' }} # Do not cache pull requests
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v3
|
||||
- name: Run `nix flake check`
|
||||
run: nix flake check
|
||||
lockfile:
|
||||
|
|
Loading…
Reference in a new issue