Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): codeql #356

Merged
merged 1 commit into from
Feb 7, 2024

fix(ci): codeql

a6fef59
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(ci): codeql #356

fix(ci): codeql
a6fef59
Select commit
Loading
Failed to load commit list.
GitHub Actions / golangci failed Feb 7, 2024 in 1s

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|117 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|61 col 4| if statements should only be cuddled with assignments (wsl)
library/schedule_test.go|136 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)

Filtered Findings (0)

Annotations

Check failure on line 160 in database/schedule_test.go

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 117 in library/schedule_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] library/schedule_test.go#L117

if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:117:4: if statements should only be cuddled with assignments (wsl)
			if test.schedule.GetEntry() != test.want.GetEntry() {
			^

Check failure on line 132 in library/schedule_test.go

See this annotation in the file changed.

@github-actions 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 61 in library/schedule_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] library/schedule_test.go#L61

if statements should only be cuddled with assignments (wsl)
Raw output
library/schedule_test.go:61:4: if statements should only be cuddled with assignments (wsl)
			if test.schedule.GetUpdatedBy() != test.want.GetUpdatedBy() {
			^

Check failure on line 136 in library/schedule_test.go

See this annotation in the file changed.

@github-actions 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())
			^

Check failure on line 112 in library/schedule_test.go

See this annotation in the file changed.

@github-actions 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())
			^