this is more inline with what the FAQ writes which links this README #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
check: | |
name: Check Rust code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: swatinem/rust-cache@v2 | |
- run: cargo fmt --all -- --check | |
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
- run: cargo check --workspace --all-targets --all-features |