feat(ci): Enable cache in pull requests
May help if multiple commits are pushed
This commit is contained in:
parent
40a4b18af2
commit
59ac444c39
1 changed files with 1 additions and 2 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
@ -15,8 +15,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@v10
|
||||
- if: ${{ github.event_name != 'pull_request' }} # Do not cache pull requests
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v4
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v4
|
||||
- name: Run `nix flake check`
|
||||
run: nix flake check
|
||||
lockfile:
|
||||
|
|
Loading…
Reference in a new issue