Skip to content

Update Konflux references #389

Update Konflux references

Update Konflux references #389

Triggered via pull request August 27, 2024 12:11
Status Failure
Total duration 3m 27s
Artifacts

lint.yml

on: pull_request
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/