Skip to content

Commit

Permalink
Fix even more caching
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary committed Jan 29, 2025
1 parent 8793664 commit 1c1861c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- name: 🧹 Clean Go Module Cache
run: rm -rf ~/go/pkg/mod

- name: 💾 Cache Go Modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}-v2
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-
${{ runner.os }}-go-
Expand Down

0 comments on commit 1c1861c

Please sign in to comment.