Skip to content

Update golangci-lint in Makefile and CI and turn it on in CI #149

Update golangci-lint in Makefile and CI and turn it on in CI

Update golangci-lint in Makefile and CI and turn it on in CI #149

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

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Cannot open: File exists
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@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/.
Build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build: migrate/example/cql/embed.go#L8
package-comments: should have a package comment (revive)
Build: batchx.go#L7
exported: exported type Batch should have comment or be unexported (revive)
Build: transformer.go#L24
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
Build: cmd/schemagen/camelize.go#L5
package-comments: should have a package comment (revive)
Build: migrate/migrate_test.go#L20
dot-imports: should not use dot imports (revive)
Build: dbutil/rewrite_test.go#L15
dot-imports: should not use dot imports (revive)
Build: iterx_test.go#L22
dot-imports: should not use dot imports (revive)
Build: example_test.go#L271
var-declaration: should omit type float64 from declaration of var double; it will be inferred from the right-hand side (revive)