mirror of
https://github.com/nix-community/flakelight.git
synced 2025-08-13 16:57:17 +02:00
Fix PR checks
At some point, `nix eval` stopped exiting on errors in nested objects. Passing --json makes it fail if theres an error anywhere in the object.
This commit is contained in:
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@ -17,4 +17,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@master
|
||||
- run: nix eval .#tests
|
||||
- run: nix eval --json .#tests
|
||||
|
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
@ -21,5 +21,5 @@ jobs:
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
- run: nix flake update --commit-lock-file
|
||||
- run: nix flake check --all-systems
|
||||
- run: nix eval .#tests
|
||||
- run: nix eval --json .#tests
|
||||
- run: git push
|
||||
|
Reference in New Issue
Block a user