CI: Rebuild bundled action if package-lock.json
changed (#46)
#327
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Checks' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Run checks. | |
runs-on: ubuntu-latest | |
env: | |
GC_DONT_GC: 1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v26 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes recursive-nix | |
- name: Run checks | |
run: | | |
nix flake check -L . |