Skip to content

Add golangci-lint for static check. #17

Add golangci-lint for static check.

Add golangci-lint for static check. #17

Triggered via push April 13, 2024 22:54
Status Failure
Total duration 1m 48s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: src/service/model/judge.go#L27
var-naming: struct field TestPointsJson should be TestPointsJSON (revive)
lint: src/service/model/submission.go#L40
var-naming: struct field VerdictJson should be VerdictJSON (revive)
lint: src/service/mapper/user.go#L28
var-naming: don't use underscores in Go names; var db_user should be dbUser (revive)
lint: src/service/mapper/user.go#L39
var-naming: don't use underscores in Go names; var db_user should be dbUser (revive)
lint: src/service/mapper/user.go#L112
var-naming: don't use underscores in Go names; var db_users should be dbUsers (revive)
lint: src/service/mapper/problem.go#L14
var-naming: don't use underscores in Go names; var db_problem should be dbProblem (revive)
lint: src/service/mapper/submission.go#L42
unused-parameter: parameter 'isCount' seems to be unused, consider removing or renaming it as _ (revive)
lint: src/service/mapper/user.go#L71
redefines-builtin-id: redefinition of the built-in function new (revive)
lint: src/service/mapper/submission.go#L23
var-naming: don't use underscores in Go names; var db_submission should be dbSubmission (revive)