Skip to content

Update development environment #125

Update development environment

Update development environment #125

Triggered via pull request February 23, 2024 10:53
Status Failure
Total duration 3m 39s
Artifacts

golangci-lint.yml

on: pull_request

Annotations

10 errors and 8 warnings
lint: internal/util/copy.go#L11
import 'github.com/hyperledger-labs/fabric-builder-k8s/internal/log' is not allowed from list 'Main' (depguard)
lint: internal/util/copy.go#L12
import 'github.com/otiai10/copy' is not allowed from list 'Main' (depguard)
lint: internal/util/files.go#L11
import 'github.com/hyperledger-labs/fabric-builder-k8s/internal/log' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L15
import 'github.com/hyperledger-labs/fabric-builder-k8s/internal/log' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L16
import 'k8s.io/api/core/v1' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L17
import 'k8s.io/apimachinery/pkg/api/errors' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L18
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L19
import 'k8s.io/apimachinery/pkg/fields' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L20
import 'k8s.io/apimachinery/pkg/runtime' is not allowed from list 'Main' (depguard)
lint: internal/util/k8s.go#L21
import 'k8s.io/apimachinery/pkg/watch' is not allowed from list 'Main' (depguard)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: internal/log/log.go#L33
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/log/log.go#L37
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/log/log.go#L41
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/detect/main_test.go#L6
dot-imports: should not use dot imports (revive)
lint: cmd/detect/main_test.go#L7
dot-imports: should not use dot imports (revive)
lint: cmd/detect/detect_suite_test.go#L7
dot-imports: should not use dot imports (revive)
lint: internal/util/copy.go#L69
unused-parameter: parameter 'srcinfo' seems to be unused, consider removing or renaming it as _ (revive)