Skip to content

Improving pipeline performance #249

Improving pipeline performance

Improving pipeline performance #249

Triggered via pull request November 22, 2024 09:36
Status Success
Total duration 1m 33s
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/