File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Hermes Rust Client
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - .github/workflows/ci-hermes-client-rust.yml
7+ - apps/hermes/client/rust/**
8+ push :
9+ branches : [main]
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ defaults :
14+ run :
15+ working-directory : apps/hermes/client/rust
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : Swatinem/rust-cache@v2
19+ with :
20+ workspaces : " apps/hermes/client/rust -> target"
21+ - uses : actions-rs/toolchain@v1
22+ with :
23+ profile : minimal
24+ toolchain : 1.82.0
25+ components : rustfmt, clippy
26+ override : true
27+ - name : Format check
28+ run : cargo fmt --all -- --check
29+ if : success() || failure()
30+ - name : Clippy check
31+ run : cargo clippy --tests -- --deny warnings
32+ if : success() || failure()
33+ - name : Build check
34+ run : cargo build
35+ if : success() || failure()
36+ - name : Run tests
37+ run : cargo test
38+ if : success() || failure()
39+ - name : Build examples
40+ run : cargo build --examples
41+ if : success() || failure()
You can’t perform that action at this time.
0 commit comments