Create devcontainer.json #46
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: Test on Push | |
on: | |
push: | |
branches-ignore: | |
- main | |
- master | |
jobs: | |
terraform: | |
name: Terraform Validation | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Terraform Setup | |
uses: hashicorp/setup-terraform@v3 | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -check | |
continue-on-error: true | |
- name: Terraform Init without backend | |
id: init | |
run: terraform init -backend=false | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color |