1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

add govet check to github action file

This commit is contained in:
dudaodong
2024-02-19 15:50:19 +08:00
parent 7ec2533b7a
commit fdf251ac98
3 changed files with 11 additions and 6 deletions

View File

@@ -20,5 +20,7 @@ jobs:
go-version: "1.18"
- name: Run coverage
run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic
- name: Run govet
run: go vet -v ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)