Skip to content

linter

linter #6

Triggered via push November 11, 2023 19:58
Status Failure
Total duration 22s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
lint: fmt_test.go#L10
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: func_test.go#L8
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: location_stack_test.go#L10
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: runtime_test.go#L11
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
lint: location_stack_test.go#L121
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
lint: location_test.go#L85
compares: use assert.NotEqual (testifylint)
lint
issues found
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/