Skip to content
Triggered via push February 2, 2024 13:39
Status Failure
Total duration 25s
Artifacts

lint.yml

on: push
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: 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: cmds/protoc-gen-go-errors/internal/gen.go#L60
avoid direct access to proto field field.Code, use field.GetCode() instead (protogetter)
lint: cmds/protoc-gen-go-errors/internal/gen.go#L70
avoid direct access to proto field field.Msg, use field.GetMsg() instead (protogetter)
lint: cmds/protoc-gen-go-errors/internal/gen.go#L71
avoid direct access to proto field field.Msg, use field.GetMsg() instead (protogetter)
lint: cmds/protoc-gen-go-enum/internal/gen.go#L54
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
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/