mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
修改actions脚本,增加golint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user