diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 425e67a..33afaf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: run: echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" - name: Cache Go modules - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-mod-${{ hashFiles('go.sum') }} @@ -48,7 +48,7 @@ jobs: ${{ runner.os }}-go-mod- - name: Cache Go build artifacts - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ~/.cache/go-build key: ${{ runner.os }}-go-build-${{ hashFiles('.go-version', 'go.sum') }}-${{ github.run_id }} @@ -57,7 +57,7 @@ jobs: ${{ runner.os }}-go-build- - name: Cache golangci-lint - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ~/.cache/golangci-lint key: ${{ runner.os }}-golangci-lint-${{ hashFiles('.go-version', '.golangci.yml', '.prototools', '.moon/proto/golangci-lint.toml', 'go.sum') }}-${{ github.run_id }} @@ -66,7 +66,7 @@ jobs: ${{ runner.os }}-golangci-lint- - name: Cache npm downloads - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-npm-docs-${{ hashFiles('docs/package-lock.json') }}