Skip to content

Build and Test

Build and Test #15

Triggered via schedule December 23, 2023 08:05
Status Success
Total duration 50s
Artifacts

build.yml

on: schedule
Build and Test
41s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build and Test: lesson03/launch/launch.go#L10
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. (SA1019)
Build and Test: lesson18/three-index-slicing/three-index-slicing.go#L17
this value of worlds is never used (SA4006)
Build and Test: lesson27/interface/interface.go#L10
this comparison is never true; the lhs of the comparison has been assigned a concretely typed value (SA4023)
Build and Test: lesson27/slice/slice.go#L18
should use make([]string, 0) instead (S1019)
Build and Test: lesson28/files/files.go#L5
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Build and Test: lesson31/positionworker/positionworker.go#L17
should use for range instead of for { select {} } (S1000)
Build and Test: lesson31/printworker/printworker.go#L15
should use for range instead of for { select {} } (S1000)
Build and Test: solutions/capstone25/animals/animals.go#L84
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. (SA1019)
Build and Test: solutions/lesson28/url/url.go#L10
"https://a b.com/" is not a valid URL: parse "https://a b.com/": invalid character " " in host name (SA1007)
Build and Test: solutions/lesson31/positionworker/positionworker.go#L19
should use for range instead of for { select {} } (S1000)
Build and Test
Restore cache failed: Dependencies file is not found in /home/runner/work/get-programming-with-go/get-programming-with-go. Supported file pattern: go.sum