Chore: update staticcheck command on actions

This commit is contained in:
Dreamacro 2021-02-21 19:37:37 +08:00
parent a37243cf30
commit f63c9eb22f

View file

@ -26,7 +26,7 @@ jobs:
run: | run: |
go test ./... go test ./...
go vet ./... go vet ./...
go get -u honnef.co/go/tools/cmd/staticcheck go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck -- $(go list ./...) staticcheck -- $(go list ./...)
- name: Build - name: Build