Skip to content

Commit

Permalink
add static check and gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
k3a committed Oct 19, 2023
1 parent d763235 commit d7ac9d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: format check
run: gofmt -s -l .
- name: static check
run: go vet ./...
- name: generate test coverage
run: go test ./... -coverprofile=./cover.out -covermode=atomic
- name: check test coverage
Expand Down

0 comments on commit d7ac9d7

Please sign in to comment.