From 65944e3455ecb64d516f885f131ff8f402d1774b Mon Sep 17 00:00:00 2001 From: Wikid82 Date: Mon, 17 Nov 2025 18:33:00 -0500 Subject: [PATCH] ci: fix go module cache key to use backend/go.sum --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef6e1dc5..0d89db56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,9 @@ jobs: uses: actions/cache@v4 with: path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + # Use the backend module's go.sum for cache key so the cache + # restores correctly when modules change. + key: ${{ runner.os }}-go-${{ hashFiles('backend/go.sum') }} restore-keys: | ${{ runner.os }}-go- - name: Run tests