Sam at luther/add ci storage access #110
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 CI | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
check_format_and_validate: | |
runs-on: ubuntu-latest | |
container: | |
image: hashicorp/terraform:1.5.7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check format | |
run: terraform fmt -diff=true -check=true | |
- name: Validate | |
run: ./validate.sh |