Skip to content

Add Go v1.22.x to CI workflow #73

Add Go v1.22.x to CI workflow

Add Go v1.22.x to CI workflow #73

Triggered via pull request July 1, 2024 12:33
Status Cancelled
Total duration 48s
Artifacts

validate.yml

on: pull_request
Matrix: linters
Fit to window
Zoom out
Zoom in

Annotations

17 errors
linters (1.22.x, ubuntu-latest)
Canceling since a higher priority waiting request for 'validate-refs/pull/351/merge' exists
linters (1.22.x, ubuntu-latest): printer/print.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
linters (1.22.x, ubuntu-latest): issue185_test.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
linters (1.22.x, ubuntu-latest): msgp/extension_test.go#L20
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)
linters (1.22.x, ubuntu-latest): msgp/extension_test.go#L124
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)
linters (1.22.x, ubuntu-latest): msgp/extension_test.go#L137
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)
linters (1.22.x, ubuntu-latest)
issues found
linters (1.22.x, ubuntu-latest)
TestHidden: Bad: ignored
linters (1.22.x, ubuntu-latest)
NonMsgStructTags: C: ignored
linters (1.22.x, ubuntu-latest)
tuple: Object
linters (1.22.x, ubuntu-latest)
tuple: TestBench
linters (1.22.x, ubuntu-latest)
tuple: TestFast
linters (1.22.x, ubuntu-latest)
shim: SpecialID -> Bytes
linters (1.22.x, ubuntu-latest)
shim: MyEnum -> String
linters (1.22.x, ubuntu-latest)
shim: os.File -> String
linters (1.22.x, ubuntu-latest)
FileHandle: inlining Files
linters (1.22.x, ubuntu-latest)
Insane: inlining CustomInt