Skip to content

sync changes from panther-labs/panther-enterprise#14267 (#90) #124

sync changes from panther-labs/panther-enterprise#14267 (#90)

sync changes from panther-labs/panther-enterprise#14267 (#90) #124

Workflow file for this run

on:
push
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
- name: Setup Python
uses: actions/setup-python@v4.3.0
with:
python-version: 3.10.6
- name: Install cfn-lint
run: pip install cfn-lint
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2.0.3
with:
terraform_version: 1.3.4
- name: Setup tflint
uses: terraform-linters/setup-tflint@v2.0.1
- name: Run terraform fmt
run: terraform fmt -check -recursive ./terraform
- name: Run tflint
run: |
pushd terraform
tflint --recursive
popd
- name: Run cfn-lint
run: find ./cloudformation -iname "*.yml" | xargs -n 1 cfn-lint