Enable torch.compile validation on Amazon 2023 (#6434) #2870
This file contains 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@v4 | |
name: Checkout source code | |
- uses: terraform-linters/setup-tflint@v4 | |
name: Setup TFLint | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
tflint_version: v0.54.0 | |
- name: Install Tofu | |
uses: opentofu/setup-opentofu@v1 | |
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 |