File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : ["**"]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ concurrency :
10+ group : ci-${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ env :
14+ CARGO_TERM_COLOR : always
15+
16+ jobs :
17+ rust-ci :
18+ name : Rust CI (fmt, check, clippy, test)
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - name : Rustfmt
25+ run : cargo fmt --all -- --check
26+
27+ - name : Cargo check
28+ run : cargo check --workspace --all-targets
29+
30+ - name : Clippy
31+ run : |
32+ cargo clippy -p ferrum-flow --all-targets
33+ cargo clippy -p ferrum-flow-sync-plugin --all-targets
34+
35+ - name : Tests
36+ run : |
37+ cargo test -p ferrum-flow --all-targets --no-fail-fast
38+ cargo test -p ferrum-flow-sync-plugin --all-targets --no-fail-fast
You can’t perform that action at this time.
0 commit comments