Skip to content

Commit a90ecd5

Browse files
authored
Update go.yml
1 parent 4a17094 commit a90ecd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
with:
2424
path: |
2525
~/.cache/go-build
26-
# go mod cache path
2726
~/go/pkg/mod
2827
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2928
restore-keys: |
@@ -35,5 +34,7 @@ jobs:
3534
- name: Build
3635
run: go build -v ./...
3736

38-
- name: Test
37+
- name: Run tests
3938
run: go test -v ./...
39+
- name: Run tests with coverage
40+
run: go test -v -coverprofile=coverage.out ./...

0 commit comments

Comments
 (0)