Aggregate autorevert restart runs like any other run in the HUD (part… #4599
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: TFLint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - ".github/workflows/tflint.yml" | |
| - "terraform-aws-github-runner/**" | |
| jobs: | |
| tflint: | |
| name: TFLint | |
| runs-on: ubuntu-latest | |
| container: node:20 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| name: Checkout source code | |
| - uses: terraform-linters/setup-tflint@90f302c255ef959cbfb4bd10581afecdb7ece3e6 # v4.1.1 | |
| name: Setup TFLint | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| tflint_version: v0.54.0 | |
| - name: Install Tofu | |
| uses: opentofu/setup-opentofu@592200bd4b9bbf4772ace78f887668b1aee8f716 # v1.0.5 | |
| with: | |
| terraform_version: 1.5.7 | |
| terraform_wrapper: false | |
| - name: Show tflint version | |
| run: | |
| tflint --version | |
| - name: Show tofu version | |
| run: | |
| tofu --version | |
| - name: "tflint" | |
| working-directory: terraform-aws-github-runner | |
| run: make tflint |