Update link to CLA (#4) #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terraform Security Check | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.github/PULL_REQUEST_TEMPLATE.md' | |
- 'CONTRIBUTION.md' | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
verify: | |
name: Lint and analyse code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: ~> 1.4.5 | |
- name: Lint Terraform code | |
run: terraform fmt -check=true -diff=true | |
- name: Scan Terraform code | |
uses: aquasecurity/[email protected] |