Skip to content

Commit

Permalink
ci: remove redundant dry-build job
Browse files Browse the repository at this point in the history
`just check-flake-outputs` does the same but in a more robust way, while
also checking devShells.
  • Loading branch information
tomodachi94 committed Mar 28, 2024
1 parent eec8b1e commit 7a823af
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ format:
deadnix -eq $(git ls-files '*.nix')
nixpkgs-fmt $(git ls-files '*.nix')

ci:
#!/usr/bin/env sh
for config in $(nix flake show --json | jq -r '.nixosConfigurations | keys[]'); do
echo "Checking configuration: $config"
nixos-rebuild dry-build --flake '.#'"$config"
done
check-flake-outputs:
nix flake check --all-systems --verbose

ci: check-flake-outputs

0 comments on commit 7a823af

Please sign in to comment.