Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: npm ci
- name: Test
run: npm test
env:
INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

integration:
name: Integration test
Expand All @@ -58,6 +60,8 @@ jobs:
- uses: actions/checkout@v4
- name: Use Action
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate
run: tflint -v

Expand All @@ -74,6 +78,7 @@ jobs:
uses: ./
with:
tflint_version: ${{ matrix.tflint_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate
if: matrix.tflint_version != 'latest'
run: |-
Expand All @@ -96,6 +101,7 @@ jobs:
uses: ./
with:
tflint_version: ${{ matrix.tflint_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run
run: tflint -f compact --force

Expand All @@ -113,6 +119,7 @@ jobs:
with:
tflint_version: ${{ matrix.tflint_version }}
tflint_wrapper: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run
id: tflint
run: tflint -f compact --force
Expand Down