1
0
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:
wdvxdr 2022-04-04 21:40:58 +08:00
parent 550c17c184
commit 0d291f79fa
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -19,6 +19,12 @@ jobs:
with: with:
version: latest version: latest
- name: Static Check
uses: dominikh/staticcheck-action@v1.2.0
with:
install-go: false
version: "2022.1"
- name: Tests - name: Tests
run: | run: |
go test $(go list ./...) go test $(go list ./...)