Skip to content

Enable Golangci-lint #11

Enable Golangci-lint

Enable Golangci-lint #11

Triggered via pull request June 18, 2024 23:22
Status Failure
Total duration 2m 21s
Artifacts

golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
golangci-lint: cmd/soroban-rpc/internal/config/config_option.go#L31
use of `errors.New` forbidden because "Do not use stellar/go/support/errors, use the standard 'errors' package and fmt.Errorf()." (forbidigo)
golangci-lint: cmd/soroban-rpc/internal/db/ledgerentry.go#L57
use of `fmt.Printf` forbidden because "Do not commit debug print statements (in tests use t.Log())." (forbidigo)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b, actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-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/
golangci-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/
golangci-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/
golangci-lint
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/