Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/go_modules/github.com/stretchr/…
Browse files Browse the repository at this point in the history
…testify-1.10.0
  • Loading branch information
euskadi31 authored Nov 28, 2024
2 parents 34d8029 + 5ada129 commit e6c0fed
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ jobs:
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: v1.55.2
skip-pkg-cache: true
version: v1.62.2
skip-cache: true

- name: Coveralls
uses: shogo82148/actions-goveralls@v1
Expand Down
26 changes: 15 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
issues:
exclude-case-sensitive: false
exclude-dirs-use-default: true
exclude-files:
- .*_mock\.go
- mock_.*\.go
- .*/pkg/mod/.*$
- .*/go/src/.*\.go
exclude-generated: strict
exclude-use-default: true
max-issues-per-linter: 50
linters:
disable-all: true
enable:
- errcheck
- gas
- goconst
- gocyclo
- gofmt
- revive
- govet
- ineffassign
- megacheck
- misspell
- typecheck
- unconvert
Expand All @@ -22,7 +31,6 @@ linters:
- durationcheck
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- gocritic
Expand Down Expand Up @@ -60,9 +68,8 @@ linters-settings:
goimports:
local-prefixes: go.opentelemetry.io
govet:
check-shadowing: false
maligned:
suggest-new: true
disable:
- shadow
misspell:
ignore-words:
- cancelled
Expand All @@ -71,15 +78,12 @@ linters-settings:
ignore-generated-header: true
severity: warning
output:
format: colored-line-number
formats:
- format: colored-line-number
print-issued-lines: true
print-linter-name: true
run:
concurrency: 4
issues-exit-code: 1
skip-files:
- .*_mock\.go
- mock_.*\.go
- .*/pkg/mod/.*$
tests: false
timeout: 1m

0 comments on commit e6c0fed

Please sign in to comment.