diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 23d61e7f..a4abf1c4 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -89,7 +89,7 @@ jobs: # this job repo-wide (blocking every PR). Keyed on .tflint.hcl so a # plugin-version bump re-downloads; restore-keys seeds a warm start. - name: Cache tflint plugins - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.tflint.d/plugins key: tflint-plugins-${{ runner.os }}-${{ hashFiles('.tflint.hcl') }} @@ -137,7 +137,7 @@ jobs: # Security Scanning job is the gosec gate. - name: Cache Go-installed tools (gocyclo) id: cache-go-tools - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/go/bin key: go-tools-${{ runner.os }}-gocyclo-v0.6.0 @@ -226,7 +226,7 @@ jobs: # Saves ~30-60s per cache-hit run; safe because pre-commit verifies # env integrity on use. - name: Cache pre-commit environments - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} @@ -240,7 +240,7 @@ jobs: # step covers the latter. Keyed on go.sum so a dep upgrade still # invalidates the cache and gets clean builds. - name: Cache Go build cache - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.cache/go-build key: go-build-${{ runner.os }}-${{ hashFiles('**/go.sum') }}