Skip to content

fix example sorting #926

fix example sorting

fix example sorting #926

Triggered via push October 28, 2023 20:55
Status Failure
Total duration 18s
Artifacts

go_test.yml

on: push
Matrix: lint and test
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 3 warnings
lint and test (1.17): job.go#L32
field `lockerKey` is unused (unused)
lint and test (1.17): job.go#L212
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint and test (1.17): job.go#L232
unused-parameter: parameter 'interval' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.17): job.go#L239
field `interval` is unused (unused)
lint and test (1.17): job.go#L240
field `atTimes` is unused (unused)
lint and test (1.17): job.go#L249
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.17): job.go#L250
File is not `gofumpt`-ed (gofumpt)
lint and test (1.17): job.go#L284
S1011: should replace loop with `daysOfTheWeek = append(daysOfTheWeek, w.daysOfTheWeek()...)` (gosimple)
lint and test (1.17): job.go#L639
field `interval` is unused (unused)
lint and test (1.17): job.go#L640
field `atTimes` is unused (unused)
lint and test (1.16)
The job was canceled because "_1_17" failed.
lint and test (1.16): job.go#L32
field `lockerKey` is unused (unused)
lint and test (1.16): job.go#L212
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint and test (1.16): job.go#L232
unused-parameter: parameter 'interval' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.16): job.go#L239
field `interval` is unused (unused)
lint and test (1.16): job.go#L240
field `atTimes` is unused (unused)
lint and test (1.16): job.go#L249
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.16): job.go#L250
File is not `gofumpt`-ed (gofumpt)
lint and test (1.16): job.go#L284
S1011: should replace loop with `daysOfTheWeek = append(daysOfTheWeek, w.daysOfTheWeek()...)` (gosimple)
lint and test (1.16): job.go#L639
field `interval` is unused (unused)
lint and test (1.16): job.go#L640
field `atTimes` is unused (unused)
lint and test (1.19)
The job was canceled because "_1_17" failed.
lint and test (1.19): job.go#L32
field `lockerKey` is unused (unused)
lint and test (1.19): job.go#L212
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint and test (1.19): job.go#L232
unused-parameter: parameter 'interval' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.19): job.go#L239
field `interval` is unused (unused)
lint and test (1.19): job.go#L240
field `atTimes` is unused (unused)
lint and test (1.19): job.go#L249
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint and test (1.19): job.go#L250
File is not `gofumpt`-ed (gofumpt)
lint and test (1.19): job.go#L284
S1011: should replace loop with `daysOfTheWeek = append(daysOfTheWeek, w.daysOfTheWeek()...)` (gosimple)
lint and test (1.19): job.go#L639
field `interval` is unused (unused)
lint and test (1.19): job.go#L640
field `atTimes` is unused (unused)
lint and test (1.20)
The job was canceled because "_1_17" failed.
lint and test (1.20)
The operation was canceled.
lint and test (1.18)
The job was canceled because "_1_17" failed.
lint and test (1.18)
The operation was canceled.
lint and test (1.17): example_test.go#L162
empty-block: this block is empty, you can remove it (revive)
lint and test (1.16): example_test.go#L162
empty-block: this block is empty, you can remove it (revive)
lint and test (1.19): example_test.go#L162
empty-block: this block is empty, you can remove it (revive)