Adjusted examples to not contains specific versions #5
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 checks" | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Setup terraform" | |
uses: "hashicorp/setup-terraform@v3" | |
with: | |
terraform_wrapper: false | |
- name: "terraform version" | |
working-directory: "." | |
run: terraform --version | |
- name: "Root: init" | |
working-directory: "." | |
run: terraform init | |
- name: "Root: validate" | |
working-directory: "." | |
run: terraform validate | |
- name: "Submodule filter: init" | |
working-directory: "./modules/filter" | |
run: terraform init | |
- name: "Submodule filter: validate" | |
working-directory: "./modules/filter" | |
run: terraform validate | |
- name: "Submodule test: test" | |
working-directory: "./modules/filter" | |
run: terraform test |