add preflight compilation check #3246
pr.yml
on: pull_request
Go Workspace Check
43s
lint
58s
test
/
unit-test
1m 58s
test
/
build
39s
test
/
integration-test
2m 43s
Annotations
6 errors and 5 warnings
|
lint
issues found
|
|
lint:
cmd/grafana-app-sdk/generate.go#L303
string `.go` has 3 occurrences, make it a constant (goconst)
|
|
lint:
cmd/grafana-app-sdk/generate.go#L253
cognitive complexity 67 of func `preflightGeneratedGoCodeCompiles` is high (> 50) (gocognit)
|
|
test / integration-test
Process completed with exit code 1.
|
|
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 / 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
|