Skip to content

update lint ci

update lint ci #5

Triggered via push November 19, 2024 04:37
Status Failure
Total duration 2m 17s
Artifacts

test.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 3 warnings
lint: common/types/jwt.go#L22
undefined: jwt (typecheck)
lint: mq/messagequeue.go#L11
undefined: nats (typecheck)
lint: mq/nats.go#L52
undefined: nats (typecheck)
lint: mq/nats.go#L103
undefined: nats (typecheck)
lint: api/middleware/authenticator.go#L119
undefined: jwt (typecheck)
lint: api/middleware/gitlab_shell_jwt.go#L17
undefined: jwt (typecheck)
lint: builder/store/cache/cache.go#L19
undefined: redis (typecheck)
lint: builder/store/cache/cache.go#L20
undefined: redis (typecheck)
lint: builder/store/cache/cache.go#L55
undefined: redis (typecheck)
lint: api/handler/validate.go#L8
undefined: validator (typecheck)
test (1.21.x): component/callback/git_callback.go#L425
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L425
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L437
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L437
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L443
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L458
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x)
Process completed with exit code 1.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/csghub-server/csghub-server. Supported file pattern: go.sum
test (1.21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/