Apply description suggestions from code review #20
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: Lint | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
name: Validate terraform configuration | |
strategy: | |
fail-fast: false | |
matrix: | |
path: ["cg_space", "clamav", "database", "domain", "redis", "s3"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: terraform validate ${{ matrix.path }} | |
uses: dflook/terraform-validate@v1 | |
with: | |
path: ${{ matrix.path }} | |
fmt-check: | |
runs-on: ubuntu-latest | |
name: Check formatting of terraform files | |
strategy: | |
fail-fast: false | |
matrix: | |
path: ["cg_space", "clamav", "database", "domain", "redis", "s3"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: terraform fmt ${{ matrix.path }} | |
uses: dflook/terraform-fmt-check@v1 | |
with: | |
path: ${{ matrix.path }} |