mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-06-19 05:55:04 +08:00
ci: add static check
golangci-lint didn't release yet
This commit is contained in:
parent
550c17c184
commit
0d291f79fa
6
.github/workflows/golint.yml
vendored
6
.github/workflows/golint.yml
vendored
@ -19,6 +19,12 @@ jobs:
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: Static Check
|
||||
uses: dominikh/staticcheck-action@v1.2.0
|
||||
with:
|
||||
install-go: false
|
||||
version: "2022.1"
|
||||
|
||||
- name: Tests
|
||||
run: |
|
||||
go test $(go list ./...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user