Skip to content

feat: thrift-gen-http-swagger plugin #23

feat: thrift-gen-http-swagger plugin

feat: thrift-gen-http-swagger plugin #23

Triggered via pull request August 3, 2024 09:28
Status Failure
Total duration 2m 58s
Artifacts

pr-check.yml

on: pull_request
resolve module
2s
resolve module
compliant
25s
compliant
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/generator/generator.go#L257
S1021: should merge variable declaration with assignment on next line (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L60
S1002: should omit comparison to bool constant, can be simplified to `v1` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L235
S1002: should omit comparison to bool constant, can be simplified to `m.Boolean` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L340
S1002: should omit comparison to bool constant, can be simplified to `m.Explode` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L344
S1002: should omit comparison to bool constant, can be simplified to `m.AllowReserved` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L482
S1002: should omit comparison to bool constant, can be simplified to `m.Required` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L486
S1002: should omit comparison to bool constant, can be simplified to `m.Deprecated` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L490
S1002: should omit comparison to bool constant, can be simplified to `m.AllowEmptyValue` (gosimple)
lint module (./thrift-gen-http-swagger): thrift-gen-http-swagger/thrift/document.go#L498
S1002: should omit comparison to bool constant, can be simplified to `m.Explode` (gosimple)
resolve module
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
compliant
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./thrift-gen-http-swagger)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@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/