Skip to content

[skip changelog] Bump golangci/golangci-lint-action from 6 to 7 #5321

[skip changelog] Bump golangci/golangci-lint-action from 6 to 7

[skip changelog] Bump golangci/golangci-lint-action from 6 to 7 #5321

Triggered via pull request March 31, 2025 15:39
Status Failure
Total duration 1m 23s
Artifacts

check-go-task.yml

on: pull_request
run-determination
0s
run-determination
Matrix: build
Matrix: check-config
Matrix: check-formatting
Matrix: check-license-headers
Matrix: check-outdated
Matrix: check-style
Fit to window
Zoom out
Zoom in

Annotations

10 errors
check-style (./): commands/service_compile.go#L162
QF1001: could apply De Morgan's law (staticcheck)
check-style (./): commands/service_compile.go#L248
ST1023: should omit type logger.Verbosity from declaration; it will be inferred from the right-hand side (staticcheck)
check-style (./): commands/service_compile.go#L356
QF1012: Use fmt.Fprintf(...) instead of Write([]byte(fmt.Sprintf(...))) (staticcheck)
check-style (./): commands/service_compile.go#L359
QF1012: Use fmt.Fprintf(...) instead of Write([]byte(fmt.Sprintf(...))) (staticcheck)
check-style (./): commands/service_upload.go#L508
QF1012: Use fmt.Fprintln(...) instead of Write([]byte(fmt.Sprintln(...))) (staticcheck)
check-style (./): commands/service_upload.go#L515
QF1012: Use fmt.Fprintln(...) instead of Write([]byte(fmt.Sprintln(...))) (staticcheck)
check-style (./): commands/service_upload.go#L521
QF1012: Use fmt.Fprintln(...) instead of Write([]byte(fmt.Sprintln(...))) (staticcheck)
check-style (./): internal/arduino/builder/internal/preprocessor/ctags.go#L68
QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) (staticcheck)
check-style (./): internal/arduino/builder/internal/utils/utils.go#L85
QF1004: could use strings.ReplaceAll instead (staticcheck)
check-style (./): internal/arduino/cores/packagemanager/loader.go#L368
QF1006: could lift into loop condition (staticcheck)