Skip to content

mantle/gcp: support c3 metal instance types #2373

mantle/gcp: support c3 metal instance types

mantle/gcp: support c3 metal instance types #2373

Triggered via pull request September 13, 2024 13:18
Status Failure
Total duration 1m 36s
Artifacts

lints.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
golangci-lint: mantle/platform/api/azure/api.go#L119
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)
golangci-lint: mantle/platform/machine/azure/cluster.go#L38
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)
golangci-lint: mantle/platform/machine/esx/cluster.go#L35
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)
golangci-lint: mantle/cmd/kola/kola.go#L164
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)
golangci-lint
issues found
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, 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/
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/coreos-assembler/coreos-assembler. Supported file pattern: go.sum
ShellCheck
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/