.github/workflows/coverage.yml add actions/cach

This commit is contained in:
Grigory Efimov 2023-01-11 20:09:54 +03:00 committed by Mikhail Iudin
parent 3bf29d8352
commit 5b7cf0b902
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -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