Skip to content

🦀 Migrated project to Rust 🦀 #23

🦀 Migrated project to Rust 🦀

🦀 Migrated project to Rust 🦀 #23

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: Continuous integration
jobs:
test:
name: "Test"
strategy:
fail-fast: true
matrix:
cmd:
- check
- fmt --all -- --check
- clippy -- -D warnings
- doc
- test
- build --release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo ${{ matrix.cmd }}
conclude:
runs-on: ubuntu-latest
name: All tests passed
needs: [test]
steps:
- run: echo '### Good job! All the tests passed 🚀' >> $GITHUB_STEP_SUMMARY