Updated golangci-lint #107
build.yml
on: push
Matrix: test
lint
13s
goreleaser
0s
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/
|