ci: run both parse checks in one keep-going step

The parse workflow currently runs the nix and Lix checks as two separate
steps. If the first parser fails, GitHub Actions stops the job before
the second parser runs, which hides useful failure information and
weakens the signal from the new parse gate.

Collapse the two steps into a single invocation that builds both parse
derivations with --keep-going. This keeps the job surface small,
preserves the dedicated parse trigger, and ensures both parser variants
are attempted on every relevant run.
This commit is contained in:
Austin Horstman
2026-04-20 16:54:03 -05:00
parent c555a4a34a
commit 67f2a145a9

View File

@@ -63,12 +63,9 @@ jobs:
- name: Build docs
if: github.event_name == 'schedule' || needs.changes.outputs.docs == 'true'
run: nix build --show-trace .#docs-jsonModuleMaintainers
- name: Parse Nix files with latest nix
- name: Parse Nix files with nix and Lix
if: github.event_name == 'schedule' || needs.changes.outputs.parse == 'true'
run: nix build --show-trace .#ci-parse
- name: Parse Nix files with latest Lix
if: github.event_name == 'schedule' || needs.changes.outputs.parse == 'true'
run: nix build --show-trace .#ci-parse-lix
run: nix build --show-trace --keep-going .#ci-parse .#ci-parse-lix
- name: Format Check
if: github.event_name == 'schedule' || needs.changes.outputs.format == 'true'
run: nix fmt -- --ci