Skip to content

update go to 1.20, bump deps #262

update go to 1.20, bump deps

update go to 1.20, bump deps #262

Triggered via push August 7, 2023 18:03
Status Failure
Total duration 2m 59s
Artifacts

ci-backend.yml

on: push
Test & Coverage
2m 50s
Test & Coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Test & Coverage: backend/app/cmd/server_test.go#L825
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
Test & Coverage: backend/app/store/service/service_test.go#L416
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
Test & Coverage
issues found