Skip to content

Bump golangci/golangci-lint-action from 4 to 6 #113

Bump golangci/golangci-lint-action from 4 to 6

Bump golangci/golangci-lint-action from 4 to 6 #113

Triggered via pull request October 3, 2024 16:49
Status Failure
Total duration 46s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: cmd/prs.go#L52
emptyStringTest: replace `len(rootOpts.org) > 0` with `rootOpts.org != ""` (gocritic)
lint: pkg/repo/repos.go#L26
unnecessary leading newline (whitespace)
lint: pkg/client/client.go#L24
import 'github.com/google/go-github/v33/github' is not allowed from list 'Main' (depguard)
lint: pkg/client/client.go#L27
import 'github.com/google/triage-party/pkg/persist' is not allowed from list 'Main' (depguard)
lint: pkg/ghcache/ghcache.go#L22
import 'github.com/google/go-github/v33/github' is not allowed from list 'Main' (depguard)
lint: pkg/ghcache/ghcache.go#L23
import 'github.com/google/triage-party/pkg/persist' is not allowed from list 'Main' (depguard)
lint: pkg/ghcache/ghcache.go#L24
import 'k8s.io/klog/v2' is not allowed from list 'Main' (depguard)
lint: pkg/repo/files.go#L23
import 'github.com/google/go-github/v33/github' is not allowed from list 'Main' (depguard)
lint: pkg/repo/files.go#L24
import 'k8s.io/klog/v2' is not allowed from list 'Main' (depguard)
lint: pkg/repo/files.go#L26
import 'github.com/google/pullsheet/pkg/client' is not allowed from list 'Main' (depguard)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/