Skip to content

Commit

Permalink
Fix windows go cache path, per GA examples
Browse files Browse the repository at this point in the history
See https://github.com/actions/cache/blob/main/examples.md#go---modules

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed May 10, 2022
1 parent e436314 commit e9a4a8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
cache-name: cache-go-modules
with:
path: |
\Users\runneradmin\go\pkg\mod
%LocalAppData%\go-build
key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('./go.mod', '**/go.sum') }}
~\go\pkg\mod
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run Unit tests
run: go test ./...

0 comments on commit e9a4a8d

Please sign in to comment.