add preflight compilation check #3249
pr.yml
on: pull_request
Go Workspace Check
42s
lint
1m 41s
test
/
unit-test
1m 52s
test
/
build
35s
test
/
integration-test
2m 12s
Annotations
14 errors and 5 warnings
|
lint
issues found
|
|
lint:
cmd/grafana-app-sdk/generate.go#L288
string `.go` has 3 occurrences, make it a constant (goconst)
|
|
lint:
cmd/grafana-app-sdk/generate.go#L253
cognitive complexity 62 of func `preflightGeneratedGoCodeCompiles` is high (> 50) (gocognit)
|
|
test / unit-test
Process completed with exit code 1.
|
|
test / integration-test
no required module provides package k8s.io/kube-openapi/pkg/validation/spec; to add it:
|
|
test / integration-test
no required module provides package k8s.io/kube-openapi/pkg/spec3; to add it:
|
|
test / integration-test
no required module provides package github.com/grafana/grafana-app-sdk/app; to add it:
|
|
test / integration-test
package codegen-tests/pkg/generated/customkind/v1_0 is not in std (/opt/hostedtoolcache/go/1.25.0/x64/src/codegen-tests/pkg/generated/customkind/v1_0)
|
|
test / integration-test
package codegen-tests/pkg/generated/customkind/v0_0 is not in std (/opt/hostedtoolcache/go/1.25.0/x64/src/codegen-tests/pkg/generated/customkind/v0_0)
|
|
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/types; to add it:
|
|
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/runtime/schema; to add it:
|
|
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/runtime; to add it:
|
|
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/apis/meta/v1; to add it:
|
|
test / integration-test
no required module provides package github.com/grafana/grafana-app-sdk/resource; to add it:
|
|
test / build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
Go Workspace Check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
test / unit-test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
test / integration-test
Restore cache failed: Dependencies file is not found in /home/runner/work/grafana-app-sdk/grafana-app-sdk. Supported file pattern: go.sum
|