feat(ci): Enable cache in pull requests

May help if multiple commits are pushed
This commit is contained in:
Jalil David Salamé Messina 2024-03-17 00:35:40 +01:00
parent 40a4b18af2
commit 59ac444c39
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -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: