Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action versions in README #223

Merged
merged 1 commit into from
Feb 27, 2024
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
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
Loading