Skip to content

Commit

Permalink
fix copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed Oct 22, 2023
1 parent ffb0a74 commit 1767c73
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/validate-gentx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@ jobs:
- uses: actions/checkout@v4
- name: List all changed files
run: |
- name: Validate JSON formatting
run: |
for file in ${{ needs.find-gentx-files.outputs.gentx-files }}; do
formatted=$(jq -c . $file)
if [ "$formatted" != "$(cat $file)" ]; then
echo "$file gentx file not formatted"
exit 1
fi
done
for file in ${{ needs.find-gentx-files.outputs.gentx-files }}; do
formatted=$(jq -c . $file)
if [ "$formatted" != "$(cat $file)" ]; then
echo "$file gentx file not formatted"
exit 1
fi
done
valid-gentx:
needs: find-gentx-files
Expand Down

0 comments on commit 1767c73

Please sign in to comment.