Skip to content

Commit d7ac9d7

Browse files
committed
add static check and gofmt
1 parent d763235 commit d7ac9d7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
uses: actions/setup-go@v4
1414
with:
1515
go-version-file: go.mod
16+
- name: format check
17+
run: gofmt -s -l .
18+
- name: static check
19+
run: go vet ./...
1620
- name: generate test coverage
1721
run: go test ./... -coverprofile=./cover.out -covermode=atomic
1822
- name: check test coverage

0 commit comments

Comments
 (0)