diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e76fc2e..2811c0e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,9 +22,9 @@ jobs: ~/.cache/go-build ~/Library/Caches/go-build '%LocalAppData%\go-build' - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | - ${{ runner.os }}-go- + ${{ matrix.os }}-go- - name: simple test run: go test -v ./ -count=1 - name: test with GC pressure