Skip to content

Commit 98d70fb

Browse files
committed
chore(ci): test sparse-checkout
1 parent 31cd2de commit 98d70fb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: test-sparse-checkout
2+
on:
3+
pull_request:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test-sparse-checkout:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v5
11+
- uses: moonrepo/setup-rust@v1
12+
13+
- uses: actions/checkout@v5
14+
with:
15+
path: sparse-checkout-dir
16+
sparse-checkout: |
17+
src
18+
- name: Run command in sparse checkout directory
19+
run: |
20+
cd sparse-checkout-dir
21+
cargo run --manifest-path ../Cargo.toml -- run --mode instrumentation -- echo foo

0 commit comments

Comments
 (0)