From 47251be3bfd9c7049947c2c11a4b6cf521b9e126 Mon Sep 17 00:00:00 2001 From: Tomas Prochazka Date: Mon, 2 Oct 2023 00:45:34 +0200 Subject: [PATCH] Update caching key in GitHub Actions workflow Because of the matrix use, the cache key was colliding. --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c90d17b..1b46a09 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -72,7 +72,7 @@ jobs: path: | ~/.cache/go-build ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}}-${{ matrix.go-version }}-${{ matrix.postgres-version }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go-