Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
extension_ci: Set `fetch-depth` to `0` in tests (#49996)
Finn Eversd25a85013ad2
diff --git a/.github/workflows/extension_tests.yml b/.github/workflows/extension_tests.ymlindex ed35a054241..c74dcdab8df 100644--- a/.github/workflows/extension_tests.yml+++ b/.github/workflows/extension_tests.yml@@ -87,7 +87,7 @@ jobs:uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683with:clean: false- fetch-depth: ${{ github.ref == 'refs/heads/main' && 2 || 350 }}+ fetch-depth: 0- id: cache-zed-extension-cliname: extension_tests::cache_zed_extension_cliuses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830diff --git a/tooling/xtask/src/tasks/workflows/extension_tests.rs b/tooling/xtask/src/tasks/workflows/extension_tests.rsindex fa8e8f7ab9c..a650013bacf 100644--- a/tooling/xtask/src/tasks/workflows/extension_tests.rs+++ b/tooling/xtask/src/tasks/workflows/extension_tests.rs@@ -89,7 +89,7 @@ pub(crate) fn check_extension() -> NamedJob {.with_repository_owner_guard().runs_on(runners::LINUX_LARGE_RAM).timeout_minutes(6u32)- .add_step(steps::checkout_repo().with_deep_history_on_non_main())+ .add_step(steps::checkout_repo().with_full_history()).add_step(cache_download).add_step(download_zed_extension_cli(cache_hit)).add_step(cache_rust_dependencies_namespace()) // Extensions can compile Rust, so provide the cache if needed.