diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eab7ddf..8b5958d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -224,7 +224,6 @@ jobs: reporter: github-pr-check level: info working_directory: tests/modules - tflint_version: v0.32.0 # The check is expected to fail on the test data - name: Check return codes diff --git a/script.sh b/script.sh index bc31a9e..a931000 100755 --- a/script.sh +++ b/script.sh @@ -98,7 +98,7 @@ echo '::group:: Running tflint with reviewdog 🐶 ...' set +Eeuo pipefail # shellcheck disable=SC2086 - TFLINT_PLUGIN_DIR=${TFLINT_PLUGIN_DIR} "${TFLINT_PATH}/tflint" -c "${INPUT_TFLINT_CONFIG}" --format=checkstyle ${INPUT_FLAGS} ${INPUT_TFLINT_TARGET_DIR} \ + TFLINT_PLUGIN_DIR=${TFLINT_PLUGIN_DIR} "${TFLINT_PATH}/tflint" -c "${INPUT_TFLINT_CONFIG}" --format=checkstyle ${INPUT_FLAGS} --chdir=${INPUT_TFLINT_TARGET_DIR} \ | "${REVIEWDOG_PATH}/reviewdog" -f=checkstyle \ -name="tflint" \ -reporter="${INPUT_REPORTER}" \