Skip to content

Restricting network access to http_request functions #258

Restricting network access to http_request functions

Restricting network access to http_request functions #258

Triggered via pull request December 9, 2024 13:42
Status Success
Total duration 1m 37s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: point/encode_v2.go#L16
`l` is unused (deadcode)
build: pprofparser/domain/quantity/kind.go#L16
don't use `init` function (gochecknoinits)
build: pprofparser/service/parsing/aggregators.go#L126
string `<unknown>` has 8 occurrences, but such constant `UnknownInfo` already exists (goconst)
build: pprofparser/domain/quantity/quantity.go#L46
ifElseChain: rewrite if-else to switch statement (gocritic)
build: point/decode.go#L77
ifElseChain: rewrite if-else to switch statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L196
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L206
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L216
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L279
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/collapse.go#L208
ifElseChain: rewrite if-else to switch statement (gocritic)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636