From 1767c73ac25d5175ae1c5780578fdb78697d5b9f Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Sun, 22 Oct 2023 10:29:40 -0400 Subject: [PATCH] fix copy paste error --- .github/workflows/validate-gentx.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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