You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ golangci-lint --versiongolangci-lint has version 1.48.0 built from 2d8fea81 on 2022-08-04T18:44:38Z
Configuration file
$ cat .golangci.yml
# paste output here
Go environment
$ go version && go envgo version go1.18.4 linux/amd64GO111MODULE=""GOARCH="amd64"GOBIN=""GOCACHE="/home/eisandbar/.cache/go-build"GOENV="/home/eisandbar/.config/go/env"GOEXE=""GOEXPERIMENT=""GOFLAGS=""GOHOSTARCH="amd64"GOHOSTOS="linux"GOINSECURE=""GOMODCACHE="/home/eisandbar/go/pkg/mod"GONOPROXY=""GONOSUMDB=""GOOS="linux"GOPATH="/home/eisandbar/go"GOPRIVATE=""GOPROXY="https://proxy.golang.org,direct"GOROOT="/usr/local/go"GOSUMDB="sum.golang.org"GOTMPDIR=""GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"GOVCS=""GOVERSION="go1.18.4"GCCGO="gccgo"GOAMD64="v1"AR="ar"CC="gcc"CXX="g++"CGO_ENABLED="1"GOMOD="/home/eisandbar/Desktop/Projects/todocheck/go.mod"GOWORK=""CGO_CFLAGS="-g -O2"CGO_CPPFLAGS=""CGO_CXXFLAGS="-g -O2"CGO_FFLAGS="-g -O2"CGO_LDFLAGS="-g -O2"PKG_CONFIG="pkg-config"GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2174909878=/tmp/go-build -gno-record-gcc-switches"
Verbose output of running
$ golangci-lint cache clean
$ golangci-lint run -vINFO [config_reader] Config search paths: [./ /home/eisandbar/Desktop/Projects/todocheck /home/eisandbar/Desktop/Projects /home/eisandbar/Desktop /home/eisandbar /home /] INFO [config_reader] Used config file .golangci.yaml INFO [lintersdb] Active 12 linters: [deadcode errcheck gofmt gosimple govet ineffassign revive staticcheck structcheck typecheck unused varcheck] INFO [loader] Go packages loading at mode 575 (compiled_files|deps|exports_file|files|imports|name|types_sizes) took 135.28109ms INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 4.718149ms INFO [linters context/goanalysis] analyzers took 12.00311277s with top 10 stages: buildir: 5.474656655s, the_only_name: 481.973733ms, ctrlflow: 446.961763ms, inspect: 433.87608ms, printf: 391.08121ms, fact_deprecated: 371.285583ms, fact_purity: 243.182326ms, SA5012: 213.759043ms, nilness: 180.251534ms, typedness: 180.055865ms INFO [runner] Issues before processing: 25, after processing: 0 INFO [runner] Processors filtering stat (out/in): skip_dirs: 25/25, skip_files: 25/25, cgo: 25/25, path_prettifier: 25/25, autogenerated_exclude: 25/25, filename_unadjuster: 25/25, identifier_marker: 25/25, exclude: 25/25, exclude-rules: 0/25 INFO [runner] processing took 4.412757ms with stages: exclude-rules: 2.131188ms, identifier_marker: 1.327565ms, path_prettifier: 431.587µs, autogenerated_exclude: 286.512µs, skip_dirs: 212.323µs, cgo: 9.854µs, filename_unadjuster: 5.063µs, nolint: 1.909µs, max_same_issues: 1.371µs, max_from_linter: 741ns, uniq_by_line: 596ns, skip_files: 568ns, source_code: 516ns, diff: 479ns, severity-rules: 474ns, exclude: 451ns, path_shortener: 439ns, max_per_file_from_linter: 424ns, sort_results: 419ns, path_prefixer: 278ns INFO [runner] linters took 2.223175549s with stages: goanalysis_metalinter: 2.218584806s INFO File cache stats: 0 entries of total size 0B INFO Memory: 25 samples, avg is 272.4MB, max is 394.1MB INFO Execution took 2.367848277s
Welcome
Description of the problem
Lint job using golangci-lint started failing after upgrading to v1.48.0 with error
Running golangci-lint run --fix fixes the issues locally, but committing the changes still fails the job with the same errors on the same files.
Job description:
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
// add your code here
preslavmihaylov/todocheck#189
The text was updated successfully, but these errors were encountered: