General updates (#15) #81
Workflow file for this run
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: Run Terraform Checks | |
on: push | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
# uncomment this step to configure deploy keys | |
# for other private repos | |
# - name: configure deploy keys | |
# uses: webfactory/[email protected] | |
# with: | |
# ssh-private-key: ${{ secrets.<SECRET> }} | |
- name: get/set terraform version | |
run: echo TERRAFORM_VERSION=$(cat .tf_version) >> $GITHUB_ENV | |
- name: set up terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ${{ env.TERRAFORM_VERSION }} | |
terraform_wrapper: false | |
- name: terraform format | |
run: make ci-fmt | |
- name: terraform validate | |
run: make validate |