Skip to content

Updated golangci-lint #107

Updated golangci-lint

Updated golangci-lint #107

Triggered via push December 30, 2024 08:01
Status Failure
Total duration 32s
Artifacts

build.yml

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

Annotations

3 errors and 2 warnings
lint: main.go#L72
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)
lint: sensor/online.go#L50
directive `//nolint:nilerr` is unused for linter "nilerr" (nolintlint)
lint
issues found
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/