Implement content audit suggestions #2936
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: | |
- "**" | |
- "!main" | |
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 --log-level warn '**/*' | |
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 terrafile | |
- name: Validate | |
run: | | |
terraform init -backend=false | |
terraform validate -no-color | |
working-directory: terraform/aks |