Skip to content

do not ignore the kubectl linstor storage-pool list output because it… #152

do not ignore the kubectl linstor storage-pool list output because it…

do not ignore the kubectl linstor storage-pool list output because it… #152

Workflow file for this run

name: Lint
on: [push]
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: hashicorp/setup-terraform@v3
with:
# see https://github.com/hashicorp/terraform/releases
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version: "1.14.4"
- name: Cache the plugins directory
uses: actions/cache@v5
with:
path: ~/.tflint.d/plugins
key: tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v6
name: Setup
with:
# see https://github.com/terraform-linters/tflint/releases
# renovate: datasource=github-releases depName=terraform-linters/tflint
tflint_version: v0.60.0
- name: Init
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: Lint
run: tflint --format compact
fmt:
name: terraform fmt check
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: hashicorp/setup-terraform@v3
with:
# see https://github.com/hashicorp/terraform/releases
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version: "1.14.4"
- name: terraform fmt check
run: terraform fmt -check -diff