Skip to content

Update canonical/setup-lxd action to v0.1.3 #1097

Update canonical/setup-lxd action to v0.1.3

Update canonical/setup-lxd action to v0.1.3 #1097

Workflow file for this run

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