Skip to content

feat(envoy): add dependsOn on logging side car if present #153

feat(envoy): add dependsOn on logging side car if present

feat(envoy): add dependsOn on logging side car if present #153

name: "static analysis"
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
validate:
name: validate
runs-on: ubuntu-latest
strategy:
matrix:
terraform: [ ~1.3.0 ]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: ~/.tflint.d/plugins
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ matrix.terraform }}
- uses: terraform-linters/setup-tflint@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: make fmt
- run: make validate
- run: make tflint
- name: Terraform security scan
uses: aquasecurity/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tfsec_args: '--force-all-dirs --exclude-downloaded-modules --minimum-severity HIGH'
working_dir: ''