Skip to content

Lint and test fixes #69

Lint and test fixes

Lint and test fixes #69

Triggered via pull request November 6, 2024 18:34
@TymKhTymKh
synchronize #15
minor-fixes
Status Failure
Total duration 2m 35s
Billable time 5m
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
Lint: adapters/database/service.go#L28
Magic number: 50, in <argument> detected (mnd)
Lint: adapters/database/service.go#L29
Magic number: 10, in <argument> detected (mnd)
Lint: metrics/server.go#L33
Magic number: 5, in <assign> detected (mnd)
Lint: cmd/httpserver/main.go#L60
Magic number: 15, in <assign> detected (mnd)
Lint: cmd/httpserver/main.go#L129
Magic number: 30, in <assign> detected (mnd)
Lint: cmd/httpserver/main.go#L130
Magic number: 60, in <assign> detected (mnd)
Lint: cmd/httpserver/main.go#L131
Magic number: 30, in <assign> detected (mnd)
Lint
Process completed with exit code 2.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, 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/
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, 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/