File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : CI
22
3- on :
4- push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
8-
9- env :
10- CARGO_TERM_COLOR : always
11- RUST_BACKTRACE : 1
3+ on : [push, pull_request]
124
135jobs :
14- check :
15- name : Check
6+ test :
167 runs-on : macos-latest
178 steps :
189 - uses : actions/checkout@v4
19-
20- - name : Install Rust
21- uses : dtolnay/rust-toolchain@nightly
22- with :
23- components : rustfmt, clippy
24-
25- - name : Cache dependencies
26- uses : Swatinem/rust-cache@v2
27-
28- - name : Check formatting
29- run : cargo fmt -- --check
30-
31- - name : Run clippy
32- run : cargo clippy -- -D warnings
33-
34- - name : Run tests
35- run : cargo test
36-
37- - name : Security audit
38- run : |
39- cargo install cargo-audit --features fix
40- cargo audit
41-
42- - name : Build
43- run : cargo build --release
10+ - uses : dtolnay/rust-toolchain@nightly
11+ - uses : Swatinem/rust-cache@v2
12+ - run : cargo test
13+ - run : cargo build --release
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments