Skip to content

Fix LookupWellKnown to read full response #433

Fix LookupWellKnown to read full response

Fix LookupWellKnown to read full response #433

Triggered via pull request October 29, 2024 22:05
Status Failure
Total duration 6m 20s
Artifacts

tests.yml

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

Annotations

11 errors and 5 warnings
Unit tests Dendrite (Go 1.20)
Process completed with exit code 1.
Linting: spec/matrixerror.go#L66
printf: non-constant format string in call to fmt.Errorf (govet)
Linting: spec/matrixerror.go#L234
printf: non-constant format string in call to fmt.Errorf (govet)
Linting: tokens/tokens_test.go#L64
printf: non-constant format string in call to (*testing.common).Errorf (govet)
Linting: tokens/tokens_test.go#L69
printf: non-constant format string in call to (*testing.common).Errorf (govet)
Linting: tokens/tokens_test.go#L74
printf: non-constant format string in call to (*testing.common).Errorf (govet)
Linting: fclient/client.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Linting: fclient/request.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Linting: fclient/federationclient_test.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Linting: fclient/request.go#L186
SA4003: every value of type byte is <= math.MaxUint8 (staticcheck)
Linting
issues found
Unit tests Dendrite (Go 1.20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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/
Unit tests (Go 1.20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, codecov/codecov-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/
Unit tests (Go 1.21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, codecov/codecov-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/
Unit tests Dendrite (Go 1.21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/