Skip to content

feat: export http server metrics #64

feat: export http server metrics

feat: export http server metrics #64

Triggered via pull request June 19, 2024 09:49
Status Failure
Total duration 1m 31s
Artifacts

ci-golang-sbom.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L104
avoid direct access to proto field metric.Metric, use metric.GetMetric() instead (protogetter)
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L105
avoid direct access to proto field m.Label, use m.GetLabel() instead (protogetter)
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L118
avoid direct access to proto field *l.Name, use l.GetName() instead (protogetter)
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L93
getMetric - result 0 (*github.com/prometheus/client_model/go.Metric) is never used (unparam)
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L74
require-error: for error assertions use require (testifylint)
GolangCI Lint: pkg/middleware/promhttp_middleware_test.go#L81
require-error: for error assertions use require (testifylint)
GolangCI Lint
issues found
Generate SBOM
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: CycloneDX/gh-gomod-generate-sbom@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
GolangCI Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/registration-service/registration-service. Supported file pattern: go.sum
GolangCI Lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
GolangCI Lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']