Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

rewrite smaller messages #674

rewrite smaller messages

rewrite smaller messages #674

Triggered via pull request September 13, 2024 11:44
Status Failure
Total duration 4m 8s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint and Build: internal/groups/postgres/groups.go#L195
sloppyLen: len(ids) <= 0 can be len(ids) == 0 (gocritic)
Lint and Build: auth/service.go#L951
sloppyLen: len(duid) <= 0 can be len(duid) == 0 (gocritic)
Lint and Build: auth/postgres/domains.go#L131
sloppyLen: len(pm.IDs) <= 0 can be len(pm.IDs) == 0 (gocritic)
Lint and Build: things/api/http/requests.go#L342
sloppyLen: len(req.UserIDs) <= 0 can be len(req.UserIDs) == 0 (gocritic)
Lint and Build: things/api/http/requests.go#L359
sloppyLen: len(req.UserIDs) <= 0 can be len(req.UserIDs) == 0 (gocritic)
Lint and Build: pkg/messaging/rabbitmq/publisher.go#L82
File is not `gofumpt`-ed (gofumpt)
Lint and Build: bootstrap/service.go#L138
File is not `gofumpt`-ed (gofumpt)
Lint and Build: cmd/provision/main.go#L48
printf: non-constant format string in call to log.Fatalf (govet)
Lint and Build: pkg/messaging/mqtt/setup_test.go#L62
printf: non-constant format string in call to log.Fatalf (govet)
Lint and Build: pkg/messaging/mqtt/setup_test.go#L82
printf: non-constant format string in call to log.Fatalf (govet)
Lint and Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/