Skip to content

SSH tests

SSH tests #4489

Triggered via pull request October 2, 2023 22:08
Status Failure
Total duration 5m 58s
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
4s
style / changes
style  /  ...  /  Auto-format and Check
42s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
5m 29s
style / Golang / Lint
style  /  ...  /  Do Not Submit
5s
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

7 errors and 10 warnings
style / Golang / Lint: pkg/ssh/ssh_dialer_test.go#L828
Consider pre-allocating `result` (prealloc)
style / Golang / Lint: pkg/ssh/ssh_dialer_test.go#L600
S1034: assigning the result of this type assertion to a variable (switch privKey := privKey.(type)) could eliminate type assertions in switch cases (gosimple)
style / Golang / Lint: pkg/ssh/ssh_dialer_test.go#L602
S1034(related information): could eliminate this type assertion (gosimple)
style / Golang / Lint: pkg/ssh/ssh_dialer_test.go#L604
S1034(related information): could eliminate this type assertion (gosimple)
style / Golang / Lint: pkg/ssh/server_test.go#L377
ineffectual assignment to ret (ineffassign)
style / Golang / Lint: pkg/ssh/ssh_dialer_test.go#L507
SA1019: x509.EncryptPEMBlock has been deprecated since Go 1.16 because it shouldn't be used: Legacy PEM encryption as specified in RFC 1423 is insecure by design. Since it does not authenticate the ciphertext, it is vulnerable to padding oracle attacks that can let an attacker recover the plaintext. (staticcheck)
style / Golang / Lint
issues found
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 / 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 / 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
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