Skip to content

Merge pull request #40 from justinvdk/main #88

Merge pull request #40 from justinvdk/main

Merge pull request #40 from justinvdk/main #88

Triggered via push March 11, 2024 07:15
Status Failure
Total duration 40s
Artifacts

build.yml

on: push
Matrix: test
goreleaser
0s
goreleaser
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: sensor/audiovolume_test.go#L6
File is not `goimports`-ed with -local caresuite (goimports)
lint: sensor/cpu_test.go#L6
File is not `goimports`-ed with -local caresuite (goimports)
lint: sensor/memory_test.go#L6
File is not `goimports`-ed with -local caresuite (goimports)
lint: util/util.go#L34
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: sensor/online.go#L72
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
lint: sensor/script.go#L28
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
lint: sensor/online.go#L57
response body must be closed (bodyclose)
lint: sensor/online.go#L76
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint: sensor/power.go#L30
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint: sensor/power.go#L34
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Test (1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/