aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2021-05-01 23:05:12 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2021-05-01 23:05:12 +0300
commit782d8b8a49c1188eb4b4e4b8460a032158cb24f6 (patch)
tree150813f18b5d0e461914889ae3a256f019690dcf
parent0c5c3c194c2879366aae60f8ce89eb25ee75ca01 (diff)
downloadradiorus-rss-782d8b8a49c1188eb4b4e4b8460a032158cb24f6.tar.gz
radiorus-rss-782d8b8a49c1188eb4b4e4b8460a032158cb24f6.zip
add caching
-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 ./...