mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 07:37:52 +08:00
Update go.yml
This commit is contained in:
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
@@ -28,12 +28,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v .
|
run: go build -v .
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: go test -v .
|
|
||||||
|
|
||||||
- name: Run coverage
|
- name: Test coverage
|
||||||
run: go test -race -coverprofile=coverage.txt -covermode=atomic
|
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
run: bash <(curl -s https://codecov.io/bash)
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
|
Reference in New Issue
Block a user