From bf59028bcd2d98a8b17dbaa047d29aec7315077a Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Thu, 28 Oct 2021 17:00:24 +1100 Subject: [PATCH] Bump go cache (#1919) --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f144f955e..d7e3ac4fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,10 +47,11 @@ jobs: - name: Cache go build uses: actions/cache@v2 env: - cache-name: cache-go-cache + # increment the number suffix to bump the cache + cache-name: cache-go-cache-1 with: path: .go-cache - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('go.mod', '**/go.sum') }} - name: Start build container env: