ci: make job fail if test matrix cannot be generated
This commit is contained in:
parent
b5fdabc567
commit
fa4c636dbc
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
|
@ -68,6 +68,8 @@ jobs:
|
||||||
- name: Generate Matrix
|
- name: Generate Matrix
|
||||||
id: generate-matrix
|
id: generate-matrix
|
||||||
run: |
|
run: |
|
||||||
|
set -euox pipefail
|
||||||
|
|
||||||
nix flake show --allow-import-from-derivation --json \
|
nix flake show --allow-import-from-derivation --json \
|
||||||
| jq -c '.["checks"]["x86_64-linux"] | keys' > .output
|
| jq -c '.["checks"]["x86_64-linux"] | keys' > .output
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue