mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
修改action脚本,增加ineffassign
This commit is contained in:
@@ -37,8 +37,10 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
go install golang.org/x/lint/golint
|
||||
go install golang.org/x/lint/golint@latest
|
||||
golint -set_exit_status code/...
|
||||
go install github.com/gordonklaus/ineffassign@latest
|
||||
ineffassign ./...
|
||||
|
||||
- name: Build Server
|
||||
run: go build -v code/server/main.go
|
||||
|
||||
Reference in New Issue
Block a user