Skip to content

ci: add setup-go to CodeQL workflow #1480

ci: add setup-go to CodeQL workflow

ci: add setup-go to CodeQL workflow #1480

GitHub Actions / golangci succeeded Oct 28, 2023 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (3)

internal/multigitter/run.go|197 col 1| cyclomatic complexity 26 of func (*Runner).runSingleRepo is high (> 25) (gocyclo)
cmd/cmd-root.go|31 col 2| SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
internal/scm/github/github.go|46 col 17| SA1019: github.NewEnterpriseClient is deprecated: Use NewClient(httpClient).WithOptions(WithEnterpriseURLs(baseURL, uploadURL)) instead. (staticcheck)