This repository was archived by the owner on Mar 30, 2026. It is now read-only.
deprecation notice #218
This file contains hidden or 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: Terraform CI | |
| on: | |
| push: | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| validate: | |
| name: Validate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 | |
| - uses: hashicorp/setup-terraform@v1 | |
| with: | |
| terraform_version: ^1.1 | |
| - name: Run Terraform Tests - Azure | |
| working-directory: azure/terraform | |
| run: | | |
| terraform init | |
| terraform validate | |
| terraform fmt -recursive -check | |
| - name: Run Terraform Tests - GCP | |
| working-directory: gcp/terraform | |
| run: | | |
| terraform init | |
| terraform validate | |
| terraform fmt -recursive -check | |
| - name: Run Terraform Tests - AWS | |
| working-directory: gcp/terraform | |
| run: | | |
| terraform init | |
| terraform validate | |
| terraform fmt -recursive -check | |
| - name: Create Awesome Badge | |
| uses: schneegans/dynamic-badges-action@v1.6.0 | |
| with: | |
| auth: ${{ secrets.GIST_TOKEN }} | |
| gistID: bfa95d2cf0275608b4b10616318c6361 | |
| filename: test.json | |
| label: Contributors | |
| message: Total number of contributors | |
| color: orange |