Skip to content

chore(deps): bump github.com/golangci/golangci-lint #482

chore(deps): bump github.com/golangci/golangci-lint

chore(deps): bump github.com/golangci/golangci-lint #482

Status Failure
Total duration 1m 36s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Reviewdog: internal/pixela/pixel.go#L32
[golangci-lint] reported by reviewdog 🐶 non-canonical header "X-USER-TOKEN", instead use: "X-User-Token" (canonicalheader) Raw Output: internal/pixela/pixel.go:32:17: non-canonical header "X-USER-TOKEN", instead use: "X-User-Token" (canonicalheader) req.Header.Set("X-USER-TOKEN", c.token) ^
Reviewdog: internal/config/config.go#L89
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <assign> detected (mnd) Raw Output: internal/config/config.go:89:20: Magic number: 2, in <assign> detected (mnd) BreakFrequency: 2, //nolint:gomnd ^
Reviewdog: internal/screen/draw/sentence.go#L55
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <case> detected (mnd) Raw Output: internal/screen/draw/sentence.go:55:8: Magic number: 2, in <case> detected (mnd) case 2: //nolint:gomnd ^
Reviewdog: internal/screen/draw/sentence.go#L76
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <operation> detected (mnd) Raw Output: internal/screen/draw/sentence.go:76:18: Magic number: 2, in <operation> detected (mnd) lm := margin / 2 //nolint:gomnd ^
Reviewdog: internal/timer/timer.go#L99
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <argument> detected (mnd) Raw Output: internal/timer/timer.go:99:52: Magic number: 2, in <argument> detected (mnd) draw.Sentence(t.screenClient.GetScreen(), 0, h/2, w, "Please expand the screen size", true) ^
Reviewdog: internal/timer/timer.go#L192
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <operation> detected (mnd) Raw Output: internal/timer/timer.go:192:57: Magic number: 2, in <operation> detected (mnd) timerPaddingWidth := (timerRenderWidth - timerWidth) / 2 //nolint:gomnd ^
Reviewdog: internal/timer/timer.go#L193
[golangci-lint] reported by reviewdog 🐶 Magic number: 2, in <operation> detected (mnd) Raw Output: internal/timer/timer.go:193:60: Magic number: 2, in <operation> detected (mnd) timerPaddingHeight := (timerRenderHeight - timerHeight) / 2 //nolint:gomnd ^
Reviewdog: internal/task/task.go#L101
[golangci-lint] reported by reviewdog 🐶 Magic number: 0o600, in <argument> detected (mnd) Raw Output: internal/task/task.go:101:42: Magic number: 0o600, in <argument> detected (mnd) _ = os.WriteFile(c.taskFile, []byte{}, 0o600) //nolint:gomnd ^
Reviewdog: internal/task/task.go#L128
[golangci-lint] reported by reviewdog 🐶 Magic number: 0o600, in <argument> detected (mnd) Raw Output: internal/task/task.go:128:36: Magic number: 0o600, in <argument> detected (mnd) err = os.WriteFile(c.taskFile, d, 0o600) ^
Reviewdog
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Reviewdog
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Reviewdog
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/