Adding SSH support (#25) #61
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 | |
on: [push, pull_request] | |
jobs: | |
terraform: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: 1.4.0 | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -check | |
continue-on-error: true | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color | |
- name: Set up Python 3.8 for Checkov | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Test with Checkov | |
id: checkov | |
uses: bridgecrewio/checkov-action@master | |
with: | |
framework: terraform | |
skip_path: ./examples |