File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Build
19+ run : cargo build --verbose
20+
21+ test :
22+ runs-on : ubuntu-latest
23+ needs : build
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : Swatinem/rust-cache@v2
28+ - name : Run Tests
29+ run : cargo test --verbose
30+
31+ clippy :
32+ runs-on : ubuntu-latest
33+ needs : build
34+
35+ steps :
36+ - uses : actions/checkout@v4
37+ - uses : Swatinem/rust-cache@v2
38+ - name : Run Clippy
39+ run : cargo clippy --all-targets -- -D warnings
Original file line number Diff line number Diff line change 11[workspace ]
2+ resolver = " 3"
23members = [
34 " rt" ,
45 " examples/bank" ,
@@ -17,5 +18,3 @@ spawned-rt = { version = "0.1.0", path = "rt" }
1718spawned-concurrency = { version = " 0.1.0" , path = " concurrency" }
1819tracing = { version = " 0.1.41" , features = [" log" ] }
1920tracing-subscriber = { version = " 0.3.19" , features = [" env-filter" ] }
20-
21-
You can’t perform that action at this time.
0 commit comments