Bump golang.org/x/sys to latest #451
Annotations
10 errors and 3 warnings
|
lint:
pkg/logging/logging.go#L99
avoid inline error handling using `if err := ...; err != nil`; use plain assignment `err := ...` (noinlineerr)
|
|
lint:
pkg/pid1/pid1.go#L40
os/exec.Command must not be called. use os/exec.CommandContext (noctx)
|
|
lint:
pkg/hook/webhook.go#L60
net/http.NewRequest must not be called. use net/http.NewRequestWithContext (noctx)
|
|
lint:
main.go#L857
net.Listen must not be called. use (*net.ListenConfig).Listen (noctx)
|
|
lint:
pkg/logging/logging.go#L49
any: interface{} can be replaced by any (modernize)
|
|
lint:
pkg/cmd/cmd.go#L40
any: interface{} can be replaced by any (modernize)
|
|
lint:
pkg/cmd/cmd.go#L39
any: interface{} can be replaced by any (modernize)
|
|
lint:
main.go#L2167
stringsseq: Ranging over SplitSeq is more efficient (modernize)
|
|
lint:
pkg/logging/logging.go#L32
there must be an empty line separating embedded fields from regular fields (embeddedstructfieldcheck)
|
|
lint:
env.go#L294
there must be an empty line separating embedded fields from regular fields (embeddedstructfieldcheck)
|
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.mod
|
|
build
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.mod
|
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.mod
|