Skip to content

Add mastodon

Add mastodon #78

Re-run triggered November 19, 2025 21:25
Status Failure
Total duration 1m 35s
Artifacts

development.yml

on: pull_request
Matrix: test
Matrix: build-upload
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: bridge/mastodon/mastodon.go#L74
string `home` has 4 occurrences, make it a constant (goconst)
golangci-lint: gateway/bridgemap/bmastodon.go#L10
don't use `init` function (gochecknoinits)
golangci-lint: bridge/mastodon/mastodon.go#L69
Function 'JoinChannel' is too long (67 > 60) (funlen)
golangci-lint: bridge/mastodon/mastodon.go#L144
unexported method "handleSendRemoteStatus" for struct "Bmastodon" should be placed after the exported method "Send" (funcorder)
golangci-lint: bridge/mastodon/mastodon.go#L247
Error return value of `resp.Body.Close` is not checked (errcheck)
golangci-lint: bridge/mastodon/mastodon.go#L167
Error return value of `resp.Body.Close` is not checked (errcheck)
golangci-lint: gateway/router.go#L68
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no bridges configured for gateway %s. See https://github.com/matterbridge-org/matterbridge/wiki/How-to-create-your-config for more info\", gw.Name)" (err113)
golangci-lint: gateway/router.go#L63
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no [[gateway]] configured. See https://github.com/matterbridge-org/matterbridge/wiki/How-to-create-your-config for more info\")" (err113)
golangci-lint: bridge/mastodon/mastodon.go#L112
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid channel name: %s\", channel.Name)" (err113)
golangci-lint: bridge/mastodon/mastodon.go#L24
found a struct that contains a context.Context field (containedctx)
test (stable)
Restore cache failed: Dependencies file is not found in /home/runner/work/matterbridge/matterbridge. Supported file pattern: go.sum
test (1.24.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/matterbridge/matterbridge. Supported file pattern: go.sum