Skip to content

Merge pull request #748 from tdewolff/dependabot/github_actions/pypa/… #674

Merge pull request #748 from tdewolff/dependabot/github_actions/pypa/…

Merge pull request #748 from tdewolff/dependabot/github_actions/pypa/… #674

Triggered via push September 21, 2024 19:32
Status Failure
Total duration 33s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lint: benchmarks/benchmark_test.go#L8
import 'github.com/tdewolff/minify/v2/minify' is not allowed from list 'Main' (depguard)
lint: benchmarks/benchmark_test.go#L9
import 'github.com/tdewolff/parse/v2' is not allowed from list 'Main' (depguard)
lint: benchmarks/benchmark_test.go#L10
import 'github.com/tdewolff/parse/v2/buffer' is not allowed from list 'Main' (depguard)
lint: benchmarks/benchmark_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd/minify/main.go#L550
Error return value of `watcher.AddPath` is not checked (errcheck)
lint: cmd/minify/main.go#L549
G601: Implicit memory aliasing in for loop. (gosec)
lint: cmd/minify/main.go#L909
G115: integer overflow conversion int -> uint64 (gosec)
lint: cmd/minify/main.go#L95
`(Matches).Scan` - `name` is unused (unparam)
lint: cmd/minify/main.go#L119
`(Includes).Scan` - `name` is unused (unparam)
lint: cmd/minify/main.go#L143
`(Excludes).Scan` - `name` is unused (unparam)
build
Process completed with exit code 1.