diff --git a/.github/workflows/validate-gentx.yml b/.github/workflows/validate-gentx.yml index c065bb39..c8dad6b6 100644 --- a/.github/workflows/validate-gentx.yml +++ b/.github/workflows/validate-gentx.yml @@ -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