Skip to content

fix(deps): update module github.com/go-vela/types to v0.20.1 #572

fix(deps): update module github.com/go-vela/types to v0.20.1

fix(deps): update module github.com/go-vela/types to v0.20.1 #572

GitHub Actions / golangci failed Jul 27, 2023 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (10)

version/version.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
cmd/vela-docker/build.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
cmd/vela-docker/command.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
cmd/vela-docker/plugin_test.go|11 col 29| unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
cmd/vela-docker/build.go|359 col 1| directive // nolint:funlen,gocyclo // Ignore line length should be written without leading space as //nolint:funlen,gocyclo // Ignore line length (nolintlint)
cmd/vela-docker/build.go|560 col 2| directive // nolint:gosec // this functionality is not exploitable the way should be written without leading space as //nolint:gosec // this functionality is not exploitable the way (nolintlint)
cmd/vela-docker/push.go|51 col 2| directive // nolint: gosec // this functionality is not exploitable the way should be written without leading space as //nolint: gosec // this functionality is not exploitable the way (nolintlint)
cmd/vela-docker/registry.go|131 col 2| directive // nolint: gosec // ignore executing command as subprocess should be written without leading space as //nolint: gosec // ignore executing command as subprocess (nolintlint)
cmd/vela-docker/build_test.go|58 col 2| directive // nolint:gosec // this functionality is not exploitable the way should be written without leading space as //nolint:gosec // this functionality is not exploitable the way (nolintlint)
cmd/vela-docker/daemon_test.go|33 col 2| directive // nolint:gosec // this functionality is not exploitable the way should be written without leading space as //nolint:gosec // this functionality is not exploitable the way (nolintlint)

Filtered Findings (0)

Annotations

Check failure on line 1 in version/version.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] version/version.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
version/version.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 1 in cmd/vela-docker/build.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/build.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
cmd/vela-docker/build.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 1 in cmd/vela-docker/command.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/command.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
cmd/vela-docker/command.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 11 in cmd/vela-docker/plugin_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/plugin_test.go#L11

unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
cmd/vela-docker/plugin_test.go:11:29: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
func TestDocker_Plugin_Exec(t *testing.T) {
                            ^

Check failure on line 359 in cmd/vela-docker/build.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/build.go#L359

directive `// nolint:funlen,gocyclo // Ignore line length` should be written without leading space as `//nolint:funlen,gocyclo // Ignore line length` (nolintlint)
Raw output
cmd/vela-docker/build.go:359:1: directive `// nolint:funlen,gocyclo // Ignore line length` should be written without leading space as `//nolint:funlen,gocyclo // Ignore line length` (nolintlint)
// nolint:funlen,gocyclo // Ignore line length
^

Check failure on line 560 in cmd/vela-docker/build.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/build.go#L560

directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
Raw output
cmd/vela-docker/build.go:560:2: directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
	// nolint:gosec // this functionality is not exploitable the way
	^

Check failure on line 51 in cmd/vela-docker/push.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/push.go#L51

directive `// nolint: gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint: gosec // this functionality is not exploitable the way` (nolintlint)
Raw output
cmd/vela-docker/push.go:51:2: directive `// nolint: gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint: gosec // this functionality is not exploitable the way` (nolintlint)
	// nolint: gosec // this functionality is not exploitable the way
	^

Check failure on line 131 in cmd/vela-docker/registry.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/registry.go#L131

directive `// nolint: gosec // ignore executing command as subprocess` should be written without leading space as `//nolint: gosec // ignore executing command as subprocess` (nolintlint)
Raw output
cmd/vela-docker/registry.go:131:2: directive `// nolint: gosec // ignore executing command as subprocess` should be written without leading space as `//nolint: gosec // ignore executing command as subprocess` (nolintlint)
	// nolint: gosec // ignore executing command as subprocess
	^

Check failure on line 58 in cmd/vela-docker/build_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/build_test.go#L58

directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
Raw output
cmd/vela-docker/build_test.go:58:2: directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
	// nolint:gosec // this functionality is not exploitable the way
	^

Check failure on line 33 in cmd/vela-docker/daemon_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-docker/daemon_test.go#L33

directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
Raw output
cmd/vela-docker/daemon_test.go:33:2: directive `// nolint:gosec // this functionality is not exploitable the way` should be written without leading space as `//nolint:gosec // this functionality is not exploitable the way` (nolintlint)
	// nolint:gosec // this functionality is not exploitable the way
	^