This commit is contained in:
@@ -10,11 +10,24 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout repository
|
||||||
- uses: actions/setup-rust@v1
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Rust
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
rust-version: '1.70'
|
toolchain: stable
|
||||||
- run: cargo build --all-features
|
profile: minimal
|
||||||
- run: cargo test --all-features
|
override: true
|
||||||
- run: cargo clippy --all-features -- -D warnings
|
|
||||||
- run: cargo fmt --check
|
- name: Build project
|
||||||
|
run: cargo build --all-features
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --all-features
|
||||||
|
|
||||||
|
- name: Run clippy
|
||||||
|
run: cargo clippy --all-features -- -D warnings
|
||||||
|
|
||||||
|
- name: Check formatting
|
||||||
|
run: cargo fmt --check
|
||||||
|
|||||||
Reference in New Issue
Block a user