[AQTS-688] [DO NOT MERGE] Chages to DQT copy updates to TRS #7997
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: pull_request | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Prepare application environment | |
uses: ./.github/actions/prepare-app-env | |
- name: Run Prettier | |
run: yarn prettier --check --ignore-unknown '**/*' | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Prepare application environment | |
uses: ./.github/actions/prepare-app-env | |
- name: Run Rubocop | |
run: bin/bundle exec rubocop | |
terraform: | |
name: Terraform | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: 1.5.0 | |
- name: Check formatting | |
run: terraform fmt -check -recursive | |
working-directory: terraform | |
- name: Download vendor modules | |
run: make ci development vendor-modules | |
- name: Validate | |
run: | | |
terraform init -backend=false | |
terraform validate -no-color | |
working-directory: terraform/application |