Skip to content

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

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 #81

Triggered via pull request May 12, 2024 19:42
Status Failure
Total duration 1m 59s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
Test: pkg/common/utils_test.go#L32
undefined: rand
Test
Error: Command failed with exit code 1: go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./... go: downloading github.com/brianvoe/gofakeit/v6 v6.28.0 # github.com/NCCloud/mayfly/pkg/common [github.com/NCCloud/mayfly/pkg/common.test] pkg/common/utils_test.go:32:28: undefined: rand github.com/NCCloud/mayfly/cmd/manager coverage: 0.0% of statements github.com/NCCloud/mayfly/cmd/benchmark coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/github.com/NCCloud/mayfly/pkg/common coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/cache coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/client coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/manager coverage: 0.0% of statements github.com/NCCloud/mayfly/pkg/apis/v1alpha1 coverage: 0.0% of statements FAIL github.com/NCCloud/mayfly/pkg/common [build failed] ok github.com/NCCloud/mayfly/pkg/controllers/expiration 8.519s coverage: 13.1% of statements in ./... ok github.com/NCCloud/mayfly/pkg/controllers/scheduledresource 10.494s coverage: 18.1% of statements in ./... FAIL
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: gwatts/go-coverage-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
Failed to run go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./...
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/mayfly/mayfly. Supported file pattern: go.sum