Skip to content

Commit

Permalink
Update action versions in README (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 authored Feb 27, 2024
1 parent 2520cd5 commit 0e4c456
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout source code

- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}

- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
name: Setup TFLint
with:
tflint_version: v0.44.1
tflint_version: v0.50.3

- name: Show version
run: tflint --version
Expand All @@ -83,27 +83,27 @@ jobs:
### Latest Release
```yaml
- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
```
or specify it explicitly as
```yaml
- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
with:
tflint_version: latest
```
### Using Custom GitHub Token
```yaml
- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
with:
github_token: ${{ secrets.MY_CUSTOM_GITHUB_TOKEN }}
```
### Loading Shared Configuration
```yaml
- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
- uses: terraform-linters/tflint-load-config-action@v1
with:
source-repo: me/tflint-config
Expand All @@ -113,7 +113,7 @@ or specify it explicitly as
### Wrapper
```yaml
- uses: terraform-linters/setup-tflint@v3
- uses: terraform-linters/setup-tflint@v4
with:
tflint_wrapper: true

Expand Down

0 comments on commit 0e4c456

Please sign in to comment.