diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6210557..cccdaf43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: release: env: - go-version: 1.17 + go-version: 1.18 jobs: check-copyright: diff --git a/.golangci.yml b/.golangci.yml index 192e7bf1..668e8353 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -48,15 +48,14 @@ linters-settings: template-path: ".scripts/copyright-notice" forbidigo: forbid: - - exclude-rules: - - path: ".*\\.pb\\.go$" # Exclude protobuf generated files. # Forbid functions to start with "get" or "Get". - ^[Gg]et.*$ - ^[Ee]quals$ # Default values: - ^print.*$ - 'fmt\.Print.*' - + exclude-rules: + - path: ".*\\.pb\\.go$" # Exclude protobuf generated files. issues: # Re-enable default excludes. include: