disable talos kubernetes discovery as its no longer compatible with k… #130
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: [push] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache the plugins directory | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.tflint.d/plugins | |
| key: tflint-${{ hashFiles('.tflint.hcl') }} | |
| - uses: terraform-linters/setup-tflint@v4 | |
| name: Setup | |
| with: | |
| # see https://github.com/terraform-linters/tflint/releases | |
| # renovate: datasource=github-releases depName=terraform-linters/tflint | |
| tflint_version: v0.57.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-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: terraform fmt check | |
| run: terraform fmt -check -diff |