Skip to content

Commit 1decbe1

Browse files
authored
Add an example of caching plugin dir (#18)
1 parent 24638f7 commit 1decbe1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
- uses: actions/checkout@v2
4343
name: Checkout source code
4444

45+
- uses: actions/cache@v2
46+
name: Cache plugin dir
47+
with:
48+
path: ~/.tflint.d/plugins
49+
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
50+
4551
- uses: terraform-linters/setup-tflint@v1
4652
name: Setup TFLint
4753
with:

0 commit comments

Comments
 (0)