add gh action workflow to mirror circle ci #22
Annotations
10 errors and 1 warning
Install golangci-lint:
internal/ld/ld.go#L111
response body must be closed (bodyclose)
|
Install golangci-lint:
internal/ld/ld.go#L444
const "apiVersionHeader" used as a key at http.Header, but "LD-API-Version" is not canonical, want "Ld-Api-Version" (canonicalheader)
|
Install golangci-lint:
internal/ld/ld.go#L580
for loop can be changed to use an integer range (Go 1.22+) (intrange)
|
Install golangci-lint:
internal/git/git.go#L347
for loop can be changed to use an integer range (Go 1.22+) (intrange)
|
Install golangci-lint:
internal/ld/ld.go#L553
Magic number: 7, in <condition> detected (mnd)
|
Install golangci-lint:
options/flags.go#L48
Magic number: 2, in <assign> detected (mnd)
|
Install golangci-lint:
options/flags.go#L97
Magic number: 10, in <assign> detected (mnd)
|
Install golangci-lint:
search/matcher.go#L86
Magic number: 2, in <argument> detected (mnd)
|
Install golangci-lint:
internal/git/git.go#L330
Magic number: 1000, in <assign> detected (mnd)
|
Install golangci-lint:
build/package/github-actions/github-actions.go#L58
Magic number: 1000, in <argument> detected (mnd)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading