Skip to content

add dns cache to presets #15

add dns cache to presets

add dns cache to presets #15

Workflow file for this run

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