Skip to content

update linter go version #77

update linter go version

update linter go version #77

Triggered via pull request February 21, 2024 15:01
Status Failure
Total duration 1m 19s
Artifacts

linters.yaml

on: pull_request
golangci-lint
1m 8s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
golangci-lint: cmd/karavictl/cmd/api/api.go#L108
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: cmd/karavictl/cmd/role.go#L25
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/karavictl/cmd/role.go#L32
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/karavictl/cmd/role.go#L376
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: cmd/karavictl/cmd/storage.go#L22
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/karavictl/cmd/storage.go#L27
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/karavictl/cmd/storage.go#L81
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: cmd/sidecar-proxy/main.go#L114
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: cmd/sidecar-proxy/main.go#L345
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: internal/proxy/role_handler.go#L18
File is not `gofumpt`-ed (gofumpt)
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/[email protected], golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint: cmd/karavictl/cmd/cluster_info.go#L31
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate.go#L29
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate_admin.go#L29
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate_admin_token.go#L37
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate_admin_token_test.go#L32
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate_admin_token_test.go#L35
unused-parameter: parameter 'code' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/generate_token.go#L37
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/role.go#L63
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/role_create.go#L40
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: cmd/karavictl/cmd/role_create_test.go#L41
unused-parameter: parameter 'addr' seems to be unused, consider removing or renaming it as _ (revive)