cache go modules

This commit is contained in:
Brian Clemens
2021-03-26 15:19:37 +09:00
parent 223482ab8e
commit 6105980642

View File

@@ -21,5 +21,12 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: make all