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+ - main
7+ pull_request :
8+
9+ env :
10+ RUSTFLAGS : -Dwarnings
11+
12+ jobs :
13+ lint :
14+ name : Lint
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
19+ - name : Install Rust Toolchain
20+ run : rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
21+
22+ - uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
23+
24+ - name : Run Rustfmt
25+ run : cargo fmt --all -- --check
26+
27+ - name : Run Clippy
28+ run : cargo clippy --workspace --all-features --tests -- -D clippy::all
29+
30+ test :
31+ name : Test (ubuntu)
32+ runs-on : ubuntu-latest
33+
34+ steps :
35+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
36+
37+ - name : Install Rust Toolchain
38+ run : rustup toolchain install stable --profile minimal --no-self-update
39+
40+ - uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
41+ with :
42+ key : ${{ github.job }}
43+
44+ - name : Run tests
45+ run : cargo test
Original file line number Diff line number Diff line change 1+ /target
2+
3+ .DS_Store
4+ .env
You can’t perform that action at this time.
0 commit comments