aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codecov.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml
index 45a8909..169ff2a 100644
--- a/.github/workflows/codecov.yml
+++ b/.github/workflows/codecov.yml
@@ -9,6 +9,18 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.14
+ - name: cache
+ uses: actions/cache@v2
+ with:
+ path: |
+ ~/.cache/go-build
+ ~/go/pkg/mod
+ key: |
+ ${{ runner.os }}-build-${{ hashFiles('**/go.mod') }}-${{ hashFiles('**/go.sum') }}
+ restore-keys: |
+ ${{ runner.os }}-build-${{ hashFiles('**/go.mod') }}-
+ ${{ runner.os }}-build-
+ ${{ runner.os }}-
- name: vet
run: |
go vet ./...