chore(deps): update github/codeql-action digest to e8893c5 #2580
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (7)
database/schedule_test.go|160 col 4| if statements should only be cuddled with assignments (wsl)
database/schedule_test.go|158 col 5| return statements should not be cuddled if block has more than two lines (wsl)
library/schedule_test.go|112 col 4| expressions should not be cuddled with blocks (wsl)
library/schedule_test.go|121 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|129 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|132 col 4| expressions should not be cuddled with blocks (wsl)
library/schedule_test.go|136 col 4| expressions should not be cuddled with blocks (wsl)
Filtered Findings (0)
Annotations
Check failure on line 160 in database/schedule_test.go
github-actions / golangci
[golangci] database/schedule_test.go#L160
if statements should only be cuddled with assignments (wsl)
Raw output
database/schedule_test.go:160:4: if statements should only be cuddled with assignments (wsl)
if err != nil {
^
Check failure on line 158 in database/schedule_test.go
github-actions / golangci
[golangci] database/schedule_test.go#L158
return statements should not be cuddled if block has more than two lines (wsl)
Raw output
database/schedule_test.go:158:5: return statements should not be cuddled if block has more than two lines (wsl)
return
^
Check failure on line 112 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L112
expressions should not be cuddled with blocks (wsl)
Raw output
library/schedule_test.go:112:4: expressions should not be cuddled with blocks (wsl)
test.schedule.SetName(test.want.GetName())
^
Check failure on line 121 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L121
if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:121:4: if statements should only be cuddled with assignments (wsl)
if test.schedule.GetCreatedAt() != test.want.GetCreatedAt() {
^
Check failure on line 129 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L129
if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:129:4: if statements should only be cuddled with assignments (wsl)
if test.schedule.GetUpdatedAt() != test.want.GetUpdatedAt() {
^
Check failure on line 132 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L132
expressions should not be cuddled with blocks (wsl)
Raw output
library/schedule_test.go:132:4: expressions should not be cuddled with blocks (wsl)
test.schedule.SetUpdatedBy(test.want.GetUpdatedBy())
^
Check failure on line 136 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L136
expressions should not be cuddled with blocks (wsl)
Raw output
library/schedule_test.go:136:4: expressions should not be cuddled with blocks (wsl)
test.schedule.SetScheduledAt(test.want.GetScheduledAt())
^