Skip to content

build: update pre-commit #208

build: update pre-commit

build: update pre-commit #208

Triggered via push November 25, 2024 14:53
Status Failure
Total duration 2m 56s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
lint: types/conversions.go#L6
import 'github.com/levelfourab/conversions-go' is not allowed from list 'Main' (depguard)
lint: types/floats.go#L9
import 'github.com/levelfourab/conversions-go' is not allowed from list 'Main' (depguard)
lint: types/ints.go#L9
import 'github.com/levelfourab/conversions-go' is not allowed from list 'Main' (depguard)
lint: types/floats_test.go#L6
import 'github.com/levelfourab/conversions-go/types' is not allowed from list 'Main' (depguard)
lint: types/ints_test.go#L6
import 'github.com/levelfourab/conversions-go/types' is not allowed from list 'Main' (depguard)
lint: types/strings_test.go#L6
import 'github.com/levelfourab/conversions-go/types' is not allowed from list 'Main' (depguard)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: conversions_suite_test.go#L6
dot-imports: should not use dot imports (revive)
lint: conversions_suite_test.go#L7
dot-imports: should not use dot imports (revive)
lint: conversions_test.go#L9
dot-imports: should not use dot imports (revive)
lint: conversions_test.go#L58
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)