chore: update deps #5
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, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-test-examples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| - name: Build | |
| run: cargo build --all --quiet | |
| - name: Run tests | |
| run: cargo test --all --quiet | |
| - name: Run examples | |
| env: | |
| BIN: target/debug/axon | |
| run: bash examples/scripts/run_all.sh | |
| - name: Show logs on failure | |
| if: failure() | |
| run: | | |
| echo 'Listing target/debug for binaries:' | |
| ls -al target/debug || true |