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 : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ check :
14+ name : Check
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : dtolnay/rust-toolchain@stable
19+ - uses : Swatinem/rust-cache@v2
20+ - run : cargo check
21+
22+ test :
23+ name : Test
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : dtolnay/rust-toolchain@stable
28+ - uses : Swatinem/rust-cache@v2
29+ - run : cargo test
30+
31+ clippy :
32+ name : Clippy
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v4
36+ - uses : dtolnay/rust-toolchain@stable
37+ with :
38+ components : clippy
39+ - uses : Swatinem/rust-cache@v2
40+ - run : cargo clippy -- -D warnings
41+
42+ fmt :
43+ name : Format
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+ - uses : dtolnay/rust-toolchain@stable
48+ with :
49+ components : rustfmt
50+ - run : cargo fmt --all -- --check
51+
52+ license :
53+ name : License audit
54+ runs-on : ubuntu-latest
55+ steps :
56+ - uses : actions/checkout@v4
57+ - uses : EmbarkStudios/cargo-deny-action@v2
Original file line number Diff line number Diff line change 2525.fastembed_cache /
2626. *
2727! .gitignore
28+ ! .github /
You can’t perform that action at this time.
0 commit comments