Skip to content

[main] Upgrade to latest dependencies #3518

[main] Upgrade to latest dependencies

[main] Upgrade to latest dependencies #3518

Triggered via pull request July 11, 2024 13:37
Status Failure
Total duration 3m 16s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
4s
style / changes
style  /  ...  /  Auto-format and Check
23s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
2m 51s
style / Golang / Lint
style  /  ...  /  Do Not Submit
11s
style / Golang / Do Not Submit
style  /  ...  /  shell
18s
style / suggester / shell
style  /  ...  /  yaml
35s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 6 warnings
style / Golang / Boilerplate Check (go): hack/tools.go#L5
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: hack/tools.go:5: found mismatched boilerplate lines: {[]string}[0]: -: "Copyright 2024 The Knative Authors" +: "Copyright 2024 The Knative Authors." {[]string}[6]: -: " http://www.apache.org/licenses/LICENSE-2.0" +: "\t\thttp://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): pkg/apis/duck/v1beta1/doc.go#L3
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/apis/duck/v1beta1/doc.go:3: found mismatched boilerplate lines: {[]string}[0->?]: -: "" +: <non-existent> {[]string}[4->?]: -: "" +: <non-existent> {[]string}[6->?]: -: "" +: <non-existent> {[]string}[?->11]: -: <non-existent> +: "// Api versions allow the api contract for a resource to be changed while keeping" {[]string}[?->12]: -: <non-existent> +: "// backward compatibility by support multiple concurrent versions" {[]string}[?->13]: -: <non-existent> +: "// of the same resource"
style / Golang / Boilerplate Check (go): pkg/apis/duck/v1beta1/register.go#L2
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/apis/duck/v1beta1/register.go:2: found mismatched boilerplate lines: {[]string}[0]: -: "Copyright 2024 The Knative Authors" +: " * Copyright 2024 The Knative Authors" {[]string}[1]: -: "" +: " *" {[]string}[2]: -: `Licensed under the Apache License, Version 2.0 (the "License");` +: ` * Licensed under the Apache License, Version 2.0 (the "License");` {[]string}[3]: -: "you may not use this file except in compliance with the License." +: " * you may not use this file except in compliance with the License." {[]string}[4]: -: "You may obtain a copy of the License at" +: " * You may obtain a copy of the License at" {[]string}[5]: -: "" +: " *" {[]string}[6]: -: " http://www.apache.org/licenses/LICENSE-2.0" +: " * http://www.apache.org/licenses/LICENSE-2.0" {[]string}[7]: -: "" +: " *" {[]string}[8]: -: "Unless required by applicable law or agreed to in writing, software" +: " * Unless required by applicable law or agreed to in writing, software" {[]string}[9]: -: `distributed under the License is distributed on an "AS IS" BASIS,` +: ` * distributed under the License is distributed on an "AS IS" BASIS,` {[]string}[10]: -: "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied." +: " * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied." {[]string}[11]: -: "See the License for the specific language governing permissions and" +: " * See the License for the specific language governing permissions and" {[]string}[12]: -: "limitations under the License." +: " * limitations under the License." {[]string}[13]: -: "*/" +: " */"
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/client/client.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/client/client.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/client/fake/fake.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/client/fake/fake.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/informers/factory/factory.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/informers/factory/factory.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/informers/factory/fake/fake.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/informers/factory/fake/fake.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/informers/factory/filtered/fake/fake_filtered_factory.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/informers/factory/filtered/fake/fake_filtered_factory.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go): pkg/client/injection/rabbitmq.com/informers/factory/filtered/filtered_factory.go#L16
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: pkg/client/injection/rabbitmq.com/informers/factory/filtered/filtered_factory.go:16: found mismatched boilerplate lines: {[]string}[0]: -: "" +: "// Code generated by injection-gen. DO NOT EDIT."
style / Golang / Boilerplate Check (go)
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
style / Golang / Boilerplate Check (sh): hack/boilerplate/add-boilerplate.sh#L3
[Bash headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: hack/boilerplate/add-boilerplate.sh:3: found mismatched boilerplate lines: {[]string}[0]: -: "# Copyright 2024 The Knative Authors" +: "# Copyright 2024 the original author or authors"
style / Golang / Boilerplate Check (sh): test/copy_images.sh#L1
[Bash headers] reported by reviewdog 🐶 incomplete boilerplate, missing: Raw Output: test/copy_images.sh:1: incomplete boilerplate, missing: # Copyright 2024 The Knative Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License.
style / suggester / yaml
Process completed with exit code 255.
style / Golang / Lint: test/e2e/config/certsecret/certsecret.go#L70
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint: test/e2e/cmd/rabbitproducer/main.go#L110
SA1019: ch.Publish is deprecated: Use PublishWithContext instead. (staticcheck)
style / Golang / Lint: pkg/rabbit/exchange_test.go#L27
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: pkg/rabbit/queue_test.go#L30
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: pkg/reconciler/broker/broker.go#L23
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: test/e2e/rabbitmqcluster.go#L120
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint: test/e2e/rabbitmqcluster.go#L150
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint
issues found
style / Golang / Lint: config/source/200-serviceaccount.yaml#L32
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: config/source/200-serviceaccount.yaml:32: Missing newline
style / Golang / Lint: config/source/400-controller-service.yaml#L28
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: config/source/400-controller-service.yaml:28: Missing newline
style / Golang / Lint: docs/DEVELOPMENT.md#L1
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: docs/DEVELOPMENT.md:1: Missing newline
style / Golang / Lint: docs/broker/rabbitmq-knative-broker.png#L230
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: docs/broker/rabbitmq-knative-broker.png:230: Missing newline
style / Golang / Lint: docs/source/rabbitmq-knative-source.png#L55
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: docs/source/rabbitmq-knative-source.png:55: Missing newline
style / suggester / shell
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-rabbitmq/eventing-rabbitmq. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-rabbitmq/eventing-rabbitmq. Supported file pattern: go.sum
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-rabbitmq/eventing-rabbitmq. Supported file pattern: go.sum
style / suggester / yaml
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-rabbitmq/eventing-rabbitmq. Supported file pattern: go.sum