From 99d0a15edb4189b7771ace3a5596950a5af4c79b Mon Sep 17 00:00:00 2001 From: Denis Tingaikin <49399980+denis-tingajkin@users.noreply.github.com> Date: Tue, 29 Dec 2020 13:48:19 +0700 Subject: [PATCH] update golangci linter to v1.34.0 (#631) Signed-off-by: Denis Tingajkin --- .github/workflows/ci.yaml | 2 +- .golangci.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 25b7d6e69..06518531c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,7 +39,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: v1.31 + version: v1.34.0 excludeFmtErrorf: name: exclude fmt.Errorf diff --git a/.golangci.yml b/.golangci.yml index 36c20e259..72e0342a8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,12 +8,9 @@ linters-settings: goheader: template-path: ".ci/license/template.txt" values: - const: - year: 2020 regexp: - year-range: ((\d\d\d\d-{{year}})|({{year}})) company: .* - copyright-holder: Copyright \(c\) {{year-range}} {{company}}\n\n + copyright-holder: Copyright \(c\) ({{year-range}}) {{company}}\n\n copyright-holders: ({{copyright-holder}})+ errcheck: check-type-assertions: false