File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed
Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77
88jobs :
9- test :
10- name : Tests
9+ build :
10+ name : Build
1111 runs-on : ubuntu-latest
1212 env :
1313 CARGO_TERM_COLOR : always
1414 steps :
15- - uses : actions/checkout@v5
15+ - name : Checkout repo
16+ uses : actions/checkout@v5
17+ - name : Setup cache
18+ uses : Swatinem/rust-cache@v2
19+ - name : Build
20+ run : cargo build
21+
22+ test :
23+ name : Tests
24+ runs-on : ubuntu-latest
25+ needs :
26+ - build
27+ steps :
28+ - name : Checkout repo & data
29+ uses : actions/checkout@v5
1630 with :
1731 token : ${{ secrets.TOKEN }}
1832 submodules : true
19- - name : Build
20- run : cargo build
33+ - name : Setup cache
34+ uses : Swatinem/rust-cache@v2
2135 - name : Run tests
2236 run : cargo test
2337
2438 clippy :
2539 name : Clippy
2640 runs-on : ubuntu-latest
41+ needs :
42+ - build
2743 steps :
28- - uses : actions/checkout@v5
44+ - name : Checkout repo
45+ uses : actions/checkout@v5
46+ - name : Setup cache
47+ uses : Swatinem/rust-cache@v2
2948 - name : Clippy
3049 run : cargo clippy --all-targets
3150
You can’t perform that action at this time.
0 commit comments