mantle/platform/gcloud: fix confidential compute check #2365
Annotations
5 errors and 2 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
|
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/
|
Run actions/setup-go@v4
Restore cache failed: Dependencies file is not found in /home/runner/work/coreos-assembler/coreos-assembler. Supported file pattern: go.sum
|
Loading