Skip to content

chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 #261

chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0

chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 #261

Triggered via pull request July 8, 2024 06:49
Status Success
Total duration 42s
Artifacts

lint_go.yml

on: pull_request
golangci-lint
33s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors
golangci-lint: cmd/main.go#L33
[golangci] reported by reviewdog 🐶 Error return value of `logger.Sync` is not checked (errcheck) Raw Output: cmd/main.go:33:19: Error return value of `logger.Sync` is not checked (errcheck) defer logger.Sync() ^
golangci-lint: pkg/rules/capSysAdmin.go#L20
[golangci] reported by reviewdog 🐶 SA4023: this comparison is always true (staticcheck) Raw Output: pkg/rules/capSysAdmin.go:20:5: SA4023: this comparison is always true (staticcheck) if capAdd != nil && strings.Contains(fmt.Sprintf("%v", capAdd), "SYS_ADMIN") { ^
golangci-lint: pkg/rules/capSysAdmin.go#L16
[golangci] reported by reviewdog 🐶 SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck) Raw Output: pkg/rules/capSysAdmin.go:16:12: SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck) capAdd := gojsonq.New().Reader(bytes.NewReader(json)). ^
golangci-lint: ../../../go/pkg/mod/github.com/thedevsaddam/gojsonq/[email protected]/jsonq.go#L515
[golangci] reported by reviewdog 🐶 SA4023(related information): (*github.com/thedevsaddam/gojsonq/v2.JSONQ).Only never returns a nil interface value (staticcheck) Raw Output: ../../../go/pkg/mod/github.com/thedevsaddam/gojsonq/[email protected]/jsonq.go:515:17: SA4023(related information): (*github.com/thedevsaddam/gojsonq/v2.JSONQ).Only never returns a nil interface value (staticcheck) func (j *JSONQ) Only(properties ...string) interface{} { ^
golangci-lint: pkg/report/writer.go#L10
[golangci] reported by reviewdog 🐶 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) Raw Output: pkg/report/writer.go:10:2: 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) "io/ioutil" ^
golangci-lint: cmd/scan.go#L6
[golangci] reported by reviewdog 🐶 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) Raw Output: cmd/scan.go:6:2: 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) "io/ioutil" ^