Skip to content

Backend build for script automation #44760

Backend build for script automation

Backend build for script automation #44760

Triggered via pull request October 1, 2024 22:34
Status Failure
Total duration 5m 14s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
publish
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (wrong type for method BatchSetScripts)
publish
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (wrong type for method BatchSetScripts)
publish
undefined: teamScripts
publish
declared and not used: teamsScripts
publish
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
publish
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
publish
The process '/opt/hostedtoolcache/goreleaser-action/1.26.2-pro/x64/goreleaser' failed with exit code 1
publish
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d, goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/