Bump golang from 1.20.5-alpine to 1.21.0-alpine in /docker #200
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: Verify | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
## Verify module, terraform validate runs only on examples | |
verify_module: | |
name: Verify module | |
strategy: | |
matrix: | |
terraform: [1.3.3] | |
runs-on: ubuntu-latest | |
container: | |
image: hashicorp/terraform:${{ matrix.terraform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: init terraform | |
run: terraform init -get -backend=false -input=false | |
- name: check formatting | |
run: terraform fmt -recursive -check=true -write=false | |
verify_examples: | |
## Verify examples, terraform fmt runs only on module version. | |
name: Verify examples | |
strategy: | |
matrix: | |
terraform: [1.3.3, latest] | |
example: ["default"] | |
defaults: | |
run: | |
working-directory: examples/${{ matrix.example }} | |
runs-on: ubuntu-latest | |
container: | |
image: hashicorp/terraform:${{ matrix.terraform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: init terraform example | |
run: terraform init -get -backend=false -input=false | |
- name: validate terraform | |
run: terraform validate |