Skip to content

Commit

Permalink
Add an example of caching plugin dir (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Jul 3, 2021
1 parent 24638f7 commit 1decbe1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- uses: actions/checkout@v2
name: Checkout source code

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

- uses: terraform-linters/setup-tflint@v1
name: Setup TFLint
with:
Expand Down

0 comments on commit 1decbe1

Please sign in to comment.