Skip to content

fix: added path compression to UnionFind (#734) #909

fix: added path compression to UnionFind (#734)

fix: added path compression to UnionFind (#734) #909

Triggered via push September 8, 2024 20:41
Status Failure
Total duration 22s
Artifacts

ci.yml

on: push
Code style and tests
6s
Code style and tests
Check for spelling errors
12s
Check for spelling errors
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Code style and tests: math/matrix/matrix_test.go#L35
printf: non-constant format string in call to (*testing.common).Errorf (govet)
Code style and tests: math/matrix/matrix_test.go#L76
printf: non-constant format string in call to (*testing.common).Errorf (govet)
Code style and tests: math/matrix/strassenmatrixmultiply_test.go#L69
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)
Code style and tests: math/matrix/strassenmatrixmultiply_test.go#L106
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)
Code style and tests: dynamic/subsetsum_test.go#L77
printf: non-constant format string in call to fmt.Sprintf (govet)
Code style and tests
issues found
Code style and tests
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/