Major refactor multi-module runtime with enhanced pool execution #33
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: Rust | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up cargo cache | |
| uses: actions/cache@v3 | |
| continue-on-error: false | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: cargo- | |
| - name: Check & Fmt & Clippy | |
| run: | | |
| rustup component add rustfmt clippy | |
| cargo check | |
| cargo fmt -- --check | |
| cargo clippy | |
| - name: Test | |
| run: | | |
| cargo test --all --verbose | |
| - name: Build | |
| run: | | |
| cargo build --verbose |