We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7807ae7 commit a243f1bCopy full SHA for a243f1b
.github/workflows/build.yml
@@ -21,6 +21,13 @@ jobs:
21
CODECOV_TOKEN: 701e86bd-1c7e-43ee-903d-f73944e464c0 # for codecov
22
steps:
23
- uses: actions/checkout@v2
24
+ - name: Cache dependencies
25
+ uses: actions/cache@v2
26
+ with:
27
+ path: ~/go/pkg/mod
28
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
29
+ restore-keys: |
30
+ ${{ runner.os }}-go-
31
- name: Run tests
32
run: | # -race wouldn't be supported without gcc
33
go test -v -race $(go list ./... | grep -v /vendor/) -coverprofile=coverage.txt &&
0 commit comments