chore(deps): update actions/checkout action to v7#706
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (11)
executor/linux/secret.go|161 col 15| string secret has 3 occurrences, make it a constant (goconst)
executor/linux/service.go|179 col 14| string service has 5 occurrences, make it a constant (goconst)
executor/linux/step.go|221 col 14| string step has 13 occurrences, make it a constant (goconst)
executor/local/service.go|96 col 14| string service has 3 occurrences, make it a constant (goconst)
executor/local/step.go|100 col 14| string step has 4 occurrences, make it a constant (goconst)
mock/docker/network.go|81 col 17| string local has 4 occurrences, make it a constant (goconst)
mock/docker/volume.go|53 col 16| string local has 4 occurrences, make it a constant (goconst)
runtime/kubernetes/build.go|63 col 30| string pipeline has 5 occurrences, make it a constant (goconst)
runtime/kubernetes/mock.go|51 col 23| string test has 6 occurrences, make it a constant (goconst)
runtime/kubernetes/network.go|33 col 14| string 127.0.0.1 has 3 occurrences, make it a constant (goconst)
runtime/kubernetes/pod_tracker.go|246 col 19| string test has 6 occurrences, make it a constant (goconst)
Filtered Findings (0)
Annotations
Check failure on line 161 in executor/linux/secret.go
github-actions / golangci
[golangci] executor/linux/secret.go#L161
string `secret` has 3 occurrences, make it a constant (goconst)
Raw output
executor/linux/secret.go:161:15: string `secret` has 3 occurrences, make it a constant (goconst)
Key: "secret",
^
Check failure on line 179 in executor/linux/service.go
github-actions / golangci
[golangci] executor/linux/service.go#L179
string `service` has 5 occurrences, make it a constant (goconst)
Raw output
executor/linux/service.go:179:14: string `service` has 5 occurrences, make it a constant (goconst)
Key: "service",
^
Check failure on line 221 in executor/linux/step.go
github-actions / golangci
[golangci] executor/linux/step.go#L221
string `step` has 13 occurrences, make it a constant (goconst)
Raw output
executor/linux/step.go:221:14: string `step` has 13 occurrences, make it a constant (goconst)
Key: "step",
^
Check failure on line 96 in executor/local/service.go
github-actions / golangci
[golangci] executor/local/service.go#L96
string `service` has 3 occurrences, make it a constant (goconst)
Raw output
executor/local/service.go:96:14: string `service` has 3 occurrences, make it a constant (goconst)
Key: "service",
^
Check failure on line 100 in executor/local/step.go
github-actions / golangci
[golangci] executor/local/step.go#L100
string `step` has 4 occurrences, make it a constant (goconst)
Raw output
executor/local/step.go:100:14: string `step` has 4 occurrences, make it a constant (goconst)
Key: "step",
^
Check failure on line 81 in mock/docker/network.go
github-actions / golangci
[golangci] mock/docker/network.go#L81
string `local` has 4 occurrences, make it a constant (goconst)
Raw output
mock/docker/network.go:81:17: string `local` has 4 occurrences, make it a constant (goconst)
Scope: "local",
^
Check failure on line 53 in mock/docker/volume.go
github-actions / golangci
[golangci] mock/docker/volume.go#L53
string `local` has 4 occurrences, make it a constant (goconst)
Raw output
mock/docker/volume.go:53:16: string `local` has 4 occurrences, make it a constant (goconst)
Scope: "local",
^
Check failure on line 63 in runtime/kubernetes/build.go
github-actions / golangci
[golangci] runtime/kubernetes/build.go#L63
string `pipeline` has 5 occurrences, make it a constant (goconst)
Raw output
runtime/kubernetes/build.go:63:30: string `pipeline` has 5 occurrences, make it a constant (goconst)
labels := map[string]string{"pipeline": b.ID}
^
Check failure on line 51 in runtime/kubernetes/mock.go
github-actions / golangci
[golangci] runtime/kubernetes/mock.go#L51
string `test` has 6 occurrences, make it a constant (goconst)
Raw output
runtime/kubernetes/mock.go:51:23: string `test` has 6 occurrences, make it a constant (goconst)
c.config.Namespace = "test"
^
Check failure on line 33 in runtime/kubernetes/network.go
github-actions / golangci
[golangci] runtime/kubernetes/network.go#L33
string `127.0.0.1` has 3 occurrences, make it a constant (goconst)
Raw output
runtime/kubernetes/network.go:33:14: string `127.0.0.1` has 3 occurrences, make it a constant (goconst)
IP: "127.0.0.1",
^
Check failure on line 246 in runtime/kubernetes/pod_tracker.go
github-actions / golangci
[golangci] runtime/kubernetes/pod_tracker.go#L246
string `test` has 6 occurrences, make it a constant (goconst)
Raw output
runtime/kubernetes/pod_tracker.go:246:19: string `test` has 6 occurrences, make it a constant (goconst)
pod.Namespace = "test"
^
11 issues:
* goconst: 11