Skip to content

Commit

Permalink
Fix check-mainnet-config errors
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmayhew committed Dec 2, 2023
1 parent 8d9a9f2 commit a28540f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-mainnet-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
for f in "${test_files[@]}"; do
nix_file="result/$f"
repo_file="configuration/cardano/$f"
if ! jq -e --argfile nix "$nix_file" --argfile repo "$repo_file" -n '$repo | reduce keys[] as $k (true; . and $repo[$k] == $nix[$k])' &>/dev/null ; then
if ! jq -e --argfile nix "$nix_file" --argfile repo "$repo_file" -n '$repo | reduce keys[] as $k (true; . and $repo[$k] == $nix[$k])' >/dev/null ; then
echo "Nix file $nix_file does not have all the same top-level entries as the file from repository $repo_file"
diff "$nix_file" "$repo_file"
diff <(jq -S . "$nix_file") <(jq -S . "$repo_file")
exit 1
fi
done
Expand Down

0 comments on commit a28540f

Please sign in to comment.