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