Skip to content

Fix the github linter #23

Fix the github linter

Fix the github linter #23

Triggered via pull request June 18, 2024 11:14
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
lint: database/config.go#L46
string `Unknown database dialect: ` has 3 occurrences, make it a constant (goconst)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: cache/cachemock/cache.go#L1
package-comments: should have a package comment (revive)
lint: envloader/envloader.go#L1
package-comments: should have a package comment (revive)
lint: cache/cache.go#L1
package-comments: should have a package comment (revive)
lint: server/echologger.go#L30
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/echologger.go#L41
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/echologger.go#L46
unused-parameter: parameter 'h' seems to be unused, consider removing or renaming it as _ (revive)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.