mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
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:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user