Merge branch 'rc-v0.5.1' into fix_codeql #1910
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: 'validate Terraform Modules' | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
validate_tf_modules: | |
name: 'validate tf modules' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
terraform_version: [ '~1.6.0', '~1.7.0', '~1.8.0', '~1.9.0', '~1.10.0', 'latest' ] | |
# TODO: we should matrix this over modules eventually too | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: 'setup Terraform' | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: ${{ matrix.terraform_version }} | |
- name: "Terraform - validate modules/psoxy-constants" | |
working-directory: infra/modules/psoxy-constants | |
run: | | |
terraform init -reconfigure | |
terraform validate | |
# also test here ... | |
- name: "Terraform - test modules/worklytics-connector-specs" | |
working-directory: infra/modules/worklytics-connector-specs | |
run: | | |
terraform init -reconfigure | |
terraform test |