Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): narrow rust cli job checkouts (#126634)

posthog[bot]8ae1b7daeb98
diff --git a/.github/workflows/ci-cli.yml b/.github/workflows/ci-cli.yml
index 20eb21a559fd..1a31cc46813b 100644
--- a/.github/workflows/ci-cli.yml
+++ b/.github/workflows/ci-cli.yml
@@ -35,6 +35,12 @@ jobs:
working-directory: cli
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /cli/
+ /rust/cymbal/tests/static/native/
+ /rust/cymbal/tests/static/apple/
+ sparse-checkout-cone-mode: false
- name: Install rust
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
@@ -59,6 +65,12 @@ jobs:
working-directory: cli
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /cli/
+ /rust/cymbal/tests/static/native/
+ /rust/cymbal/tests/static/apple/
+ sparse-checkout-cone-mode: false
- name: Install rust
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
@@ -79,6 +91,12 @@ jobs:
working-directory: cli
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /cli/
+ /rust/cymbal/tests/static/native/
+ /rust/cymbal/tests/static/apple/
+ sparse-checkout-cone-mode: false
- name: Install rust
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9