mantle/platform/gcloud: fix confidential compute check #2365
Triggered via pull request
September 13, 2024 03:38
Status
Failure
Total duration
1m 35s
Artifacts
–
lints.yml
on: pull_request
ShellCheck
1m 25s
golangci-lint
40s
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/
|