From 0d291f79faaf65a24b38e634745433d4b2985150 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Mon, 4 Apr 2022 21:40:58 +0800 Subject: [PATCH] ci: add static check golangci-lint didn't release yet --- .github/workflows/golint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index 6ab8830..fb9cc4d 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -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 ./...)