Skip to content

feat(BRIDGE-23):go 1.21 updates, govulncheck github action and package update. #880

feat(BRIDGE-23):go 1.21 updates, govulncheck github action and package update.

feat(BRIDGE-23):go 1.21 updates, govulncheck github action and package update. #880

Triggered via pull request March 1, 2024 10:14
Status Failure
Total duration 7m 51s
Artifacts

pull-request.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
test (ubuntu-20.04): internal/backend/connector_updates.go#L316
SA1019: xslices.Filter is deprecated: slices.DeleteFunc(slices.Clone(s), f) is in the standard library as of Go 1.21, though the polarity of the passed function is opposite: return true to remove, rather than to retain. (staticcheck)
test (ubuntu-20.04): internal/backend/connector_updates.go#L445
SA1019: xslices.Filter is deprecated: slices.DeleteFunc(slices.Clone(s), f) is in the standard library as of Go 1.21, though the polarity of the passed function is opposite: return true to remove, rather than to retain. (staticcheck)
test (ubuntu-20.04): internal/backend/connector_updates.go#L454
SA1019: xslices.Filter is deprecated: slices.DeleteFunc(slices.Clone(s), f) is in the standard library as of Go 1.21, though the polarity of the passed function is opposite: return true to remove, rather than to retain. (staticcheck)
test (ubuntu-20.04): imap/flags.go#L101
SA1019: xslices.IndexFunc is deprecated: slices.IndexFunc is in the standard library as of Go 1.21. (staticcheck)
test (ubuntu-20.04): imap/flags.go#L109
SA1019: xslices.IndexFunc is deprecated: slices.IndexFunc is in the standard library as of Go 1.21. (staticcheck)
test (ubuntu-20.04): imap/flags.go#L116
SA1019: xslices.IndexFunc is deprecated: slices.IndexFunc is in the standard library as of Go 1.21. (staticcheck)
test (ubuntu-20.04): internal/state/snapshot_messages.go#L83
SA1019: xslices.Insert is deprecated: slices.Insert is in the standard library as of Go 1.21. (staticcheck)
test (ubuntu-20.04): rfc822/header_test.go#L296
SA1019: xslices.Clone is deprecated: slices.Clone is in the standard library as of Go 1.21. (staticcheck)
test (ubuntu-20.04)
Process completed with exit code 1.
test (windows-latest)
The job was canceled because "ubuntu-20_04" failed.
test (windows-latest)
The operation was canceled.
test (macos-12)
The job was canceled because "ubuntu-20_04" failed.
test (macos-12)
The operation was canceled.
test (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.