Chore: cache go on CI (#1440)

This commit is contained in:
Goooler authored and GitHub committed 2022-03-22 20:36:31 +08:00
1 parent 92bce6c2c6
commit 1cc88cc04f
1 file changed
+8
+8
View File
@@ -40,6 +40,14 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
uses: gradle/gradle-build-action@v2
with: