修改actions脚本,增加golint

This commit is contained in:
lwch
2021-10-18 10:55:53 +08:00
parent 36b5c0d35e
commit bfa5a6bfa6
+3 -1
View File
@@ -36,7 +36,9 @@ jobs:
go-version: ${{ matrix.go }}
- name: Lint
run: golint
run: |
go install golang.org/x/lint/golint
golint -set_exit_status code/...
- name: Build Server
run: go build -v code/server/main.go