Skip to content

Bump actions/setup-python from 5.1.0 to 5.1.1 (#129) #270

Bump actions/setup-python from 5.1.0 to 5.1.1 (#129)

Bump actions/setup-python from 5.1.0 to 5.1.1 (#129) #270

Workflow file for this run

on: push
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
checkpoint-api.hashicorp.com:443
files.pythonhosted.org:443
github.com:443
objects.githubusercontent.com:443
pypi.org:443
releases.hashicorp.com:443
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f
with:
python-version: 3.10.6
- name: Install cfn-lint
run: pip install cfn-lint==0.85.1
- name: Setup Terraform
uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
with:
terraform_version: 1.3.4
- name: Setup tflint
uses: terraform-linters/setup-tflint@19a52fbac37dacb22a09518e4ef6ee234f2d4987
- name: Run terraform fmt
run: terraform fmt -check -recursive ./terraform
- name: Run tflint
run: |
pushd terraform
tflint --recursive
popd
- name: Run cfn-lint
run: cfn-lint -i W3045,E3030 -- cloudformation/*.yml