Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Commit ae5fca1

Browse files
authored
cache during update
1 parent 9a1f3d9 commit ae5fca1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/update.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
token: ${{ secrets.MY_GITHUB_PAT }}
16+
- uses: actions/cache@v2
17+
with:
18+
path: ~/go/pkg/mod
19+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
20+
restore-keys: |
21+
${{ runner.os }}-go-
1622
- uses: actions/setup-go@v2
1723
with:
1824
go-version: '1.15.6'

0 commit comments

Comments
 (0)