Skip to content

feat: s2i builder go support #5104

feat: s2i builder go support

feat: s2i builder go support #5104

Triggered via pull request May 9, 2024 13:54
Status Failure
Total duration 3m 28s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
4s
style / changes
style  /  ...  /  Auto-format and Check
25s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
3m 4s
style / Golang / Lint
style  /  ...  /  Do Not Submit
5s
style / Golang / Do Not Submit
style  /  ...  /  shell
0s
style / suggester / shell
style  /  ...  /  yaml
21s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
style / Golang / Lint: pkg/builders/s2i/builder.go#L159
Error return value of `os.Symlink` is not checked (errcheck)
style / Golang / Lint: cmd/deploy.go#L219
Error return value of `(*github.com/spf13/pflag.FlagSet).MarkHidden` is not checked (errcheck)
style / Golang / Lint: cmd/deploy.go#L220
Error return value of `(*github.com/spf13/pflag.FlagSet).MarkHidden` is not checked (errcheck)
style / Golang / Lint: cmd/deploy.go#L221
Error return value of `(*github.com/spf13/pflag.FlagSet).MarkHidden` is not checked (errcheck)
style / Golang / Lint: pkg/builders/s2i/builder.go#L248
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
style / Golang / Lint
issues found
style / Golang / Lint: pkg/builders/s2i/builder.go#L157
[github.com/client9/misspell] reported by reviewdog 🐶 "preferance" is a misspelling of "preference" Raw Output: pkg/builders/s2i/builder.go:157:91: "preferance" is a misspelling of "preference"
style / Golang / Lint: pkg/builders/s2i/builder.go#L201
[github.com/client9/misspell] reported by reviewdog 🐶 "suposed" is a misspelling of "supposed" Raw Output: pkg/builders/s2i/builder.go:201:5: "suposed" is a misspelling of "supposed"
style / Golang / Lint
Process completed with exit code 1.
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)
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum
style / suggester / yaml
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.sum