ZIm/.github/workflows
Ben Kunkle 17c3b741ec
Validate actions in docs (#31073)
Adds a validation step to docs preprocessing so that actions referenced
in docs are checked against the list of all registered actions in GPUI.

In order for this to work properly, all of the crates that register
actions had to be importable by the `docs_preprocessor` crate and
actually used (see [this
comment](ec16e70336 (diff-2674caf14ae6d70752ea60c7061232393d84e7f61a52915ace089c30a797a1c3))
for why this is challenging).

In order to accomplish this I have moved the entry point of zed into a
separate stub file named `zed_main.rs` so that `main.rs` is importable
by the `docs_preprocessor` crate, this is kind of gross, but ensures
that all actions that are registered in the application are registered
when checking them in `docs_preprocessor`. An alternative solution
suggested by @mikayla-maki was to separate out all our `::init()`
functions into a lib entry point in the `zed` crate that can be imported
instead, however, this turned out to be a far bigger refactor and is in
my opinion better to do in a follow up PR with significant testing to
ensure no regressions in behavior occur.

Release Notes:

- N/A
2025-06-04 19:18:12 +00:00
..
bump_collab_staging.yml Update actions/checkout digest to 11bd719 (#19636) 2024-10-23 21:57:06 -04:00
bump_patch_version.yml ci: Restrict more jobs to only run in the zed-industries organization (#23803) 2025-01-28 21:30:42 +00:00
ci.yml Validate actions in docs (#31073) 2025-06-04 19:18:12 +00:00
community_close_stale_issues.yml Update stale issue bot to run on Wednesday (#27437) 2025-03-25 16:40:43 +00:00
community_delete_comments.yml ci: Restrict more jobs to only run in the zed-industries organization (#23803) 2025-01-28 21:30:42 +00:00
community_release_actions.yml Preserve newlines in release notes email (#27670) 2025-03-28 11:42:37 -04:00
community_update_all_top_ranking_issues.yml Resurrect top-ranking issues script (#25433) 2025-02-23 14:24:56 -05:00
community_update_weekly_top_ranking_issues.yml Resurrect top-ranking issues script (#25433) 2025-02-23 14:24:56 -05:00
danger.yml Update actions/setup-node digest to 49933ea (#28897) 2025-04-18 11:31:02 -06:00
deploy_cloudflare.yml Validate actions in docs (#31073) 2025-06-04 19:18:12 +00:00
deploy_collab.yml ci: Improve Danger and ci.yml explicitness (#31979) 2025-06-03 10:54:04 -04:00
eval.yml Make the default repetitions be 8, and concurrency 4 (#29576) 2025-04-30 15:21:19 -04:00
issue_response.yml Update actions/setup-node digest to 49933ea (#28897) 2025-04-18 11:31:02 -06:00
nix.yml nix: Add job names and garnix substitutor (#31625) 2025-05-28 13:32:12 -07:00
publish_extension_cli.yml Update swatinem/rust-cache digest to 9d47c6a (#27121) 2025-03-20 07:58:22 +02:00
randomized_tests.yml Update actions/setup-node digest to 49933ea (#28897) 2025-04-18 11:31:02 -06:00
release_nightly.yml ci: Improve Danger and ci.yml explicitness (#31979) 2025-06-03 10:54:04 -04:00
script_checks.yml ci: Add shellcheck for scripts (#20631) 2024-11-18 16:41:22 -05:00