Skip to content

feat: matrix support (part 1) #157

feat: matrix support (part 1)

feat: matrix support (part 1) #157

Triggered via pull request March 14, 2026 13:35
Status Failure
Total duration 2m 11s
Artifacts 1

go-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: internal/channel/adapters/matrix/matrix_test.go#L74
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/channel/adapters/matrix/config.go#L277
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: internal/channel/adapters/matrix/config.go#L248
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: internal/channel/adapters/matrix/config.go#L245
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: internal/channel/adapters/matrix/matrix.go#L1694
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
Lint: internal/channel/adapters/matrix/matrix.go#L1671
G704: SSRF via taint analysis (gosec)
Lint: internal/channel/adapters/matrix/matrix.go#L1616
G704: SSRF via taint analysis (gosec)
Lint: internal/channel/adapters/matrix/config.go#L14
G117: Exported struct field "AccessToken" (JSON key "AccessToken") matches secret pattern (gosec)
Lint: internal/channel/adapters/matrix/markdown.go#L8
File is not properly formatted (gci)
Lint: internal/channel/adapters/matrix/matrix.go#L1576
response body must be closed (bodyclose)
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
go-coverage Expired
166 KB
sha256:1a64daf1729407543f901e3d707484496a038350201e48020a2c44fca99b079d