Skip to content

circleci: go get -u ... -> go install ...@latest (#423) #378

circleci: go get -u ... -> go install ...@latest (#423)

circleci: go get -u ... -> go install ...@latest (#423) #378

Triggered via push September 15, 2024 23:16
Status Failure
Total duration 2m 56s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint: pkg/amd/apcb/apcb_test.go#L11
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)
lint: pkg/bytes/is_zero_filled_amd64.go#L17
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
lint: pkg/intel/metadata/fit/ent_startup_ac_module_entry_test.go#L17
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)
lint: pkg/intel/metadata/fit/ent_startup_ac_module_entry_test.go#L19
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/