File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 branches : [ "main", "master" ]
55 pull_request :
66 branches : [ "main", "master" ]
7+
78jobs :
89 test :
910 runs-on : ubuntu-latest
1011 steps :
11- - uses : actions/checkout@v4
12+ # 1. Recreate your local Spikenaut directory structure
13+ - name : Sync Spikenaut Ecosystem
14+ run : |
15+ # Shallow clone all other public repos so local paths (../) resolve instantly
16+ gh repo list Spikenaut --visibility=public --limit 50 --json name -q '.[].name' | while read repo; do
17+ if [ "$repo" != "${{ github.event.repository.name }}" ]; then
18+ git clone --depth 1 https://github.com/Spikenaut/$repo.git || true
19+ fi
20+ done
21+ env :
22+ GH_TOKEN : ${{ github.token }}
23+
24+ # 2. Check out the actual code that triggered this pipeline
25+ - name : Checkout Triggering Repo
26+ uses : actions/checkout@v4
27+ with :
28+ path : ${{ github.event.repository.name }}
29+
30+ # 3. Setup the Rust toolchain
1231 - uses : dtolnay/rust-toolchain@stable
1332 - uses : Swatinem/rust-cache@v2
14- - run : cargo check
15- - run : cargo test
33+
34+ # 4. Compile and test from inside the triggering repo's folder
35+ - name : Cargo Check
36+ run : cargo check --verbose
37+ working-directory : ${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments