Skip to content

Commit

Permalink
Fix tflint deprecation (#70)
Browse files Browse the repository at this point in the history
* Fix tflint deprecation

* Remove tflint_version input from `test` to enable defaulting to latest version of tflint
  • Loading branch information
c0nn0rstevens committed May 19, 2023
1 parent 3bbbd23 commit 578520c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 578520c

Please sign in to comment.