From f3184bc08d434d401572e144119a32c5c308d936 Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 27 Aug 2021 16:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E8=A7=A3=E5=86=B3lint?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull.yml | 2 +- .github/workflows/push.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 72731fdc..ef7abc05 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -10,7 +10,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: latest + version: v1.17 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4dbe5b27..546b1d04 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,7 +9,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: latest + version: v1.17 args: --issues-exit-code=0 - name: Commit back continue-on-error: true