Skip to content

fix: fix seeder for randomizing speed tests #221

fix: fix seeder for randomizing speed tests

fix: fix seeder for randomizing speed tests #221

Triggered via pull request July 13, 2023 13:52
Status Failure
Total duration 7m 45s
Artifacts

ci.yml

on: pull_request
Matrix: Run CI
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Run CI (ubuntu-latest, 1.20): config/config.go#L170
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. (SA1019)
Run CI (ubuntu-latest, 1.20)
Process completed with exit code 1.
Run CI (macOS-latest, 1.20): config/config.go#L170
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. (SA1019)
Run CI (macOS-latest, 1.20)
Process completed with exit code 1.
Run CI (windows-latest, 1.20): config/config.go#L170
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. (SA1019)
Run CI (windows-latest, 1.20)
Process completed with exit code 1.