From 540ea625515a68610325a7b227ed5907273e71df Mon Sep 17 00:00:00 2001 From: Xiaofan Hu Date: Mon, 7 Jun 2021 17:33:44 +0200 Subject: [PATCH] Update .github/workflows/ci.yml and .golangci.yml * Ignoring makezero due to panics in the package * Ignoring errorlint temporarilly --- .github/workflows/ci.yml | 2 +- .golangci.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ea139d24..77a05b14a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.30 + version: v1.40.1 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.golangci.yml b/.golangci.yml index 40c4fc3e9..db4fc737a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -149,6 +149,8 @@ linters: disable: - maligned - prealloc + - makezero + - errorlint disable-all: false presets: - bugs