Skip to content

Add plugin runner

Add plugin runner #823

Triggered via pull request November 21, 2024 13:10
Status Failure
Total duration 3m 35s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 13 warnings
lint: plugin/runner/metrics.go#L5
File is not `goimports`-ed with -local github.com/grafana/grafana-app-sdk (goimports)
lint: plugin/runner/plugin.go#L8
File is not `goimports`-ed with -local github.com/grafana/grafana-app-sdk (goimports)
lint: plugin/runner.go#L78
`embeded` is a misspelling of `embedded` (misspell)
lint
issues found
test / build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
test / unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: plugin/runner/plugin.go#L34
unused-receiver: method receiver 'r' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: plugin/runner/plugin.go#L42
unused-receiver: method receiver 'r' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: plugin/runner/plugin.go#L46
unused-receiver: method receiver 'r' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: plugin/runner/plugin.go#L22
import-shadowing: The name 'app' shadows an import name (revive)
lint: plugin/runner.go#L95
import-shadowing: The name 'runner' shadows an import name (revive)
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2