Skip to content

Red Hat Konflux update config-manager-master #387

Red Hat Konflux update config-manager-master

Red Hat Konflux update config-manager-master #387

Re-run triggered August 26, 2024 16:24
Status Failure
Total duration 24s
Artifacts

lint.yml

on: pull_request
Lint code
12s
Lint code
Lint language
5s
Lint language
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
Lint code: internal/db/db_test.go#L30
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
Lint code: internal/http/v2/handlers_test.go#L47
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
Lint code
issues found
Lint language
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/