add github go build cache (#122)

* add github go build cache

* remove unused key
This commit is contained in:
Boshi Lian 2023-01-05 04:57:10 -08:00 committed by GitHub
parent 212ea3221b
commit 4c700aef49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 31 deletions

View file

@ -25,6 +25,15 @@ jobs:
fetch-depth: 0
submodules: 'recursive'
# https://github.com/mvdan/github-actions-golang
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: dotnet/nbgv@master
with: