Skip to content

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 #21

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 #21

Triggered via pull request May 21, 2024 18:12
Status Failure
Total duration 1m 26s
Artifacts

include.yml

on: pull_request
call-gochecks  /  check
44s
call-gochecks / check
call-codecov  /  coverage
1m 6s
call-codecov / coverage
call-releaser  /  build
call-releaser / build
Matrix: call-codeql / Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
call-gochecks / check: app.go#L170
do not define dynamic errors, use wrapped static errors instead: "errors.New(slackResp.Error)" (err113)
call-gochecks / check: main.go#L67
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", podName)" (err113)
call-gochecks / check: main.go#L73
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name format. Expected <name>-<index>, got %s\", podName)" (err113)
call-gochecks / check: server.go#L141
do not define dynamic errors, use wrapped static errors instead: "errors.New(strings.Join(errorMessages, \" and \"))" (err113)
call-gochecks / check: app_test.go#L22
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"mock error\")" (err113)
call-gochecks / check: main_test.go#L88
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"pod\")" (err113)
call-gochecks / check: main_test.go#L94
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"pod-\")" (err113)
call-gochecks / check: main_test.go#L100
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name format. Expected <name>-<index>, got %s\", \"pod-abcde\")" (err113)
call-gochecks / check: main_test.go#L106
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"\")" (err113)
call-gochecks / check: app.go#L280
Magic number: 2, in <argument> detected (mnd)
call-codecov / coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.