Skip to content

Adding support for func subscribe for creating mutiple triggers, based on event filters #4528

Adding support for func subscribe for creating mutiple triggers, based on event filters

Adding support for func subscribe for creating mutiple triggers, based on event filters #4528

Triggered via pull request October 10, 2023 13:56
Status Failure
Total duration 16m 15s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

knative-style.yaml

on: pull_request
style  /  changes
2s
style / changes
style  /  ...  /  Auto-format and Check
22s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
45s
style / Golang / Lint
style  /  ...  /  Do Not Submit
7s
style / Golang / Do Not Submit
style  /  ...  /  shell
0s
style / suggester / shell
style  /  ...  /  yaml
0s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
style / Golang / Auto-format and Check: cmd/subscribe.go#L1
Please run goimports. diff --git a/cmd/subscribe.go b/cmd/subscribe.go index 9967499..2a8d57b 100644 --- a/cmd/subscribe.go +++ b/cmd/subscribe.go @@ -3,7 +3,6 @@ package cmd import ( "github.com/ory/viper" "github.com/spf13/cobra" - "knative.dev/func/pkg/config" fn "knative.dev/func/pkg/functions" )
style / Golang / Auto-format and Check: pkg/knative/deployer.go#L1
Please run goimports. diff --git a/pkg/knative/deployer.go b/pkg/knative/deployer.go index 34b2d42..0fd59fa 100644 --- a/pkg/knative/deployer.go +++ b/pkg/knative/deployer.go @@ -4,12 +4,13 @@ import ( "context" "fmt" "io" - eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" "os" "regexp" "strings" "time" + eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" + corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/resource"
style / Golang / Auto-format and Check
Process completed with exit code 1.
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum
style / Golang / Boilerplate Check (sh)
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
style / Golang / Boilerplate Check (sh)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
style / Golang / Boilerplate Check (go)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum
style / Golang / Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
style / Golang / Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum