From bfa5a6bfa6b0af01b489b2c64e50a8ed01d9933d Mon Sep 17 00:00:00 2001 From: lwch Date: Mon, 18 Oct 2021 10:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9actions=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0golint?= 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 efe18c8..47b8d5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,9 @@ jobs: go-version: ${{ matrix.go }} - name: Lint - run: golint + run: | + go install golang.org/x/lint/golint + golint -set_exit_status code/... - name: Build Server run: go build -v code/server/main.go