Skip to content

Commit

Permalink
Add terraform pre-commit dependencies (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukiffer committed Nov 9, 2022
1 parent 2ddc8f0 commit 03c9a22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
required: false
type: boolean
default: true
validateTerraform:
required: false
type: boolean
default: false
jobs:

# -------------------------------------------------------------------------------------------------------------------
Expand All @@ -26,6 +30,11 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: Homebrew/actions/setup-homebrew@master
- name: Install tflint
if: inputs.validateTerraform == true
run: brew install tflint tfsec
shell: bash
- name: Install pre-commit
run: python -m pip install pre-commit
shell: bash
Expand Down

0 comments on commit 03c9a22

Please sign in to comment.