From 1decbe150ab6763664a0163d4f0df52ec8b873b4 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Sat, 3 Jul 2021 18:19:02 +0900 Subject: [PATCH] Add an example of caching plugin dir (#18) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b960a8b4..33c467bf 100644 --- a/README.md +++ b/README.md @@ -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: