Skip to content
Triggered via push November 6, 2023 07:33
Status Failure
Total duration 35s
Artifacts

build.yml

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

Annotations

10 errors and 4 warnings
lint: api/api.go#L91
ST1003: struct field AppId should be AppID (stylecheck)
lint: util/util.go#L34
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: util/http.go#L12
param error has same name as predeclared identifier (predeclared)
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: 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
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/
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/
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/