Add pick item from block #230
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: [ master ] | |
| paths: | |
| - 'pico_limbo/**' | |
| - 'crates/**' | |
| - 'data/generated/**' | |
| - 'Cargo.lock' | |
| - 'Cargo.toml' | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - 'pico_limbo/**' | |
| - 'crates/**' | |
| - 'data/generated/**' | |
| - 'Cargo.lock' | |
| - 'Cargo.toml' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| # Run cargo test | |
| test: | |
| name: Test Suite | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }} | |
| - name: Run cargo test | |
| run: cargo +stable test | |
| # Run cargo clippy -- -D warnings | |
| clippy_check: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.toml') }} | |
| - name: Run clippy | |
| run: cargo +stable clippy --all-targets --all-features -- -D warnings | |
| # Run cargo fmt --all -- --check | |
| format: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Run cargo fmt | |
| run: cargo +stable fmt --all -- --check |