Skip to content

Merge pull request #42 from sparkfabrik/task/2564-update-ingress-ngin… #135

Merge pull request #42 from sparkfabrik/task/2564-update-ingress-ngin…

Merge pull request #42 from sparkfabrik/task/2564-update-ingress-ngin… #135

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize ]
jobs:
tflint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
name: Checkout source code
- uses: actions/cache@v2
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
- name: Run TFLint
run: tflint -f compact