feat: github app #360
feat: github app #360
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (8)
database/schedule_test.go|158 col 5| return statements should not be cuddled if block has more than two lines (wsl)
database/schedule_test.go|160 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|108 col 4| expressions should not be cuddled with blocks (wsl)
library/schedule_test.go|112 col 4| expressions should not be cuddled with blocks (wsl)
library/schedule_test.go|141 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|40 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|116 col 4| expressions should not be cuddled with blocks (wsl)
library/repo.go|795 col 1| directive //nolint:dupl // ignore duplicate with test func
is unused for linter "dupl" (nolintlint)
Filtered Findings (0)
Annotations
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 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 108 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L108
expressions should not be cuddled with blocks (wsl)
Raw output
library/schedule_test.go:108:4: expressions should not be cuddled with blocks (wsl)
test.schedule.SetActive(test.want.GetActive())
^
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 141 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L141
if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:141:4: if statements should only be cuddled with assignments (wsl)
if test.schedule.GetBranch() != test.want.GetBranch() {
^
Check failure on line 40 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L40
if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:40:4: if statements should only be cuddled with assignments (wsl)
if test.schedule.GetRepoID() != test.want.GetRepoID() {
^
Check failure on line 116 in library/schedule_test.go
github-actions / golangci
[golangci] library/schedule_test.go#L116
expressions should not be cuddled with blocks (wsl)
Raw output
library/schedule_test.go:116:4: expressions should not be cuddled with blocks (wsl)
test.schedule.SetEntry(test.want.GetEntry())
^
Check failure on line 795 in library/repo.go
github-actions / golangci
[golangci] library/repo.go#L795
directive `//nolint:dupl // ignore duplicate with test func` is unused for linter "dupl" (nolintlint)
Raw output
library/repo.go:795:1: directive `//nolint:dupl // ignore duplicate with test func` is unused for linter "dupl" (nolintlint)
//nolint:dupl // ignore duplicate with test func
^