Skip to content

Optimize JSON parsing #432

Optimize JSON parsing

Optimize JSON parsing #432

Triggered via pull request October 4, 2024 18:18
Status Failure
Total duration 2m 38s
Artifacts

tests.yml

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

Annotations

10 errors and 5 warnings
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: 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: 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
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.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 (Go stable)
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/
Unit tests Dendrite (Go stable)
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/