Use static RollupConfig #108
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| name: ci | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install components | |
| run: | | |
| rustup component add rustfmt clippy | |
| cargo install cargo-machete --version 0.8.0 | |
| - name: Check format | |
| run: cargo fmt --all -- --check | |
| - name: Check clippy | |
| run: cargo clippy --locked -- -D warnings | |
| - name: Check deps | |
| run: cargo machete | |
| - name: unit-test | |
| run: cargo test --release |