From ce6eb4338d4a001b6170d56fe012a7ba8a855256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Fri, 9 May 2025 12:46:14 +0300 Subject: [PATCH] .github: bump cache version Update the cache action's version. --- .github/workflows/go.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index cfe4c47..ccb4476 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -51,10 +51,14 @@ jobs: with: go-version: ${{ matrix.go }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - name: Run unit tests. env: