Skip to content

Introduce golangci config and make help #623

Introduce golangci config and make help

Introduce golangci config and make help #623

Re-run triggered February 22, 2024 15:27
Status Failure
Total duration 1m 56s
Artifacts

go-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Linters: database/sql/enterprise_test.go#L108
string `false` has 6 occurrences, make it a constant (goconst)
Linters: database/sql/pools.go#L99
string `enterprise_id` has 3 occurrences, make it a constant (goconst)
Linters: database/sql/pools.go#L97
string `org_id` has 3 occurrences, make it a constant (goconst)
Linters: database/sql/enterprise_test.go#L186
string `wrong-passphrase` has 10 occurrences, make it a constant (goconst)
Linters: database/sql/enterprise_test.go#L359
string `webhook-secret` has 3 occurrences, make it a constant (goconst)
Linters: database/sql/pools.go#L95
string `repo_id` has 3 occurrences, make it a constant (goconst)
Linters: runner/enterprises_test.go#L187
string `not-existent-creds-name` has 3 occurrences, make it a constant (goconst)
Linters: runner/enterprises_test.go#L374
string `not-existent-provider-name` has 3 occurrences, make it a constant (goconst)
Linters: runner/enterprises_test.go#L312
string `invalid-creds-name` has 3 occurrences, make it a constant (goconst)
Linters: runner/metadata.go#L76
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(pool.RepoName, "/", "-", -1)` (gocritic)
Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.