.github/workflows/coverage.yml add actions/cach
This commit is contained in:
parent
3bf29d8352
commit
5b7cf0b902
11
.github/workflows/coverage.yml
vendored
11
.github/workflows/coverage.yml
vendored
@ -17,6 +17,17 @@ jobs:
|
||||
- name: git config
|
||||
run: git config --global url.https://${{ secrets.ANYTYPE_PAT }}@github.com/.insteadOf https://github.com/
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/go/pkg/mod
|
||||
~/.cache/go-build
|
||||
~/Library/Caches/go-build
|
||||
~\AppData\Local\go-build
|
||||
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-${{ matrix.go-version }}-
|
||||
|
||||
- name: deps
|
||||
run: make deps
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user