Skip to content

fix protobuf enum

fix protobuf enum #84

Triggered via pull request April 30, 2024 13:11
Status Failure
Total duration 28s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: convert/util_test.go#L12
expected-actual: need to reverse actual and expected values (testifylint)
lint: convert/util_test.go#L17
expected-actual: need to reverse actual and expected values (testifylint)
lint: tlsutil/autotls.go#L31
func `getCacheDir` is unused (unused)
lint: tlsutil/gen.go#L17
func `generateCert` is unused (unused)
lint: pathutil/file.go#L71
Error return value of `sourcefile.Close` is not checked (errcheck)
lint: pathutil/file.go#L74
Error return value of `destfile.Close` is not checked (errcheck)
lint: pathutil/file.go#L94
Error return value of `directory.Close` is not checked (errcheck)
lint: netutil/util.go#L48
Error return value of `conn.Close` is not checked (errcheck)
lint: cmds/protoc-gen-go-errors/internal/gen.go#L54
avoid direct access to proto field tag.DefaultCode, use tag.GetDefaultCode() instead (protogetter)
lint: cmds/protoc-gen-go-errors/internal/gen.go#L55
avoid direct access to proto field tag.DefaultCode, use tag.GetDefaultCode() instead (protogetter)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` 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/
lint
The `save-state` 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/