chore(deps): bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 #146
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: e2e | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
e2e: | |
name: ${{ matrix.os }} (${{ matrix.version }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
version: [v0.50.3, latest] | |
env: | |
TFLINT_VERSION: ${{ matrix.version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install TFLint | |
run: curl -sL https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install plugin (Linux) | |
if: runner.os == 'Linux' | |
run: make install | |
- name: Install plugin (Windows) | |
if: runner.os == 'Windows' | |
run: | | |
mkdir -p ~/.tflint.d/plugins | |
go build -o ~/.tflint.d/plugins/tflint-ruleset-avm.exe | |
shell: bash | |
- name: Run E2E tests | |
run: make e2e |