IA-3822: min supported Terraform version is now ~>1.9 #62
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: 'Integration Tests' | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
defaults: | |
run: | |
shell: 'bash' | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
format: | |
runs-on: 'ubuntu-latest' | |
steps: | |
# checkout the code | |
- name: 'checkout' | |
uses: 'actions/checkout@v3' | |
# if necessary can install a specific version of terraform | |
#- name: 'Install Terraform 1.0.9' | |
# uses: 'hashicorp/setup-terraform@v2' | |
# with: | |
# terraform_version: '1.0.9' | |
# check the terraform formatting | |
- name: 'check formatting' | |
run: | | |
terraform fmt -check -recursive | |
validate: | |
runs-on: 'ubuntu-latest' | |
steps: | |
# checkout the code | |
- name: 'checkout' | |
uses: 'actions/checkout@v3' | |
# if necessary can install a specific version of terraform | |
#- name: 'Install Terraform 1.0.9' | |
# uses: 'hashicorp/setup-terraform@v2' | |
# with: | |
# terraform_version: '1.0.9' | |
# validate the module can compile | |
- name: 'validate module' | |
run: | | |
terraform init | |
terraform validate | |
spellcheck: | |
runs-on: 'ubuntu-latest' | |
steps: | |
# checkout the code | |
- name: 'checkout' | |
uses: 'actions/checkout@v3' | |
# perform a spellcheck on the markdown | |
# https://github.com/marketplace/actions/github-spellcheck-action | |
- name: 'Spellcheck' | |
uses: 'rojopolis/[email protected]' | |
with: | |
source_files: 'CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md' | |
task_name: 'Markdown' |