File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed
Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,20 @@ jobs:
1515 steps :
1616 - name : Checkout the source code
1717 uses : actions/checkout@v5
18- - name : Set nightly toolchain
19- uses : actions-rs/toolchain@v1
20- with :
21- toolchain : stable
22- - name : Environment
23- run : |
24- if [[ "$(uname)" == 'Darwin' ]]; then
25- brew install sqlite3
26- else
27- sudo apt-get update -y
28- sudo apt-get install -y libsqlite3-dev libdbus-1-dev
29- fi
30- - name : Build
31- run : cargo build --release --all-features
18+ - name : Install Toolchain
19+ run : rustup update stable && rustup default stable
20+ - uses : actions/setup-sqlite@v1
3221 - name : Run tests
33- run : cargo test --release --all-features
22+ run : cargo nextest run --release --all-features
23+ check :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout the source code
27+ uses : actions/checkout@v5
28+ - name : Install Toolchain
29+ run : rustup update stable && rustup default stable
30+ - uses : actions/setup-sqlite@v1
31+ - name : Run format check
32+ run : cargo fmt --check
33+ - name : Run clippy
34+ run : cargo clippy --all-features -- -D warnings
You can’t perform that action at this time.
0 commit comments