From 2a008451d64af4ce13472c86e4faca4fd06f3541 Mon Sep 17 00:00:00 2001 From: lwch Date: Fri, 5 Nov 2021 11:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9action=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0ineffassign?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7eb0443..4a159f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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