feat: cancel the previous run when a new event occurs for the same PR #386
qiniu-x / golangci-lint
failed
Sep 24, 2024 in 20s
golangci-lint found 2 issues related to your changes
This is the detailed log.
If you have any questions about this comment, feel free to raise an issue here.
Annotations
Check warning on line 55 in internal/storage/file.go
qiniu-x / golangci-lint
internal/storage/file.go#L55
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"file does not exist: %s\", filePath)" (err113)
Check warning on line 233 in internal/linters/github.go
qiniu-x / golangci-lint
internal/linters/github.go#L233
for loop can be changed to use an integer range (Go 1.22+) (intrange)
Loading