on: push: name: Tests jobs: tests: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Run cargo fmt run: cargo fmt --all --check - name: Run cargo clippy run: cargo clippy --all-features -- -D warnings - name: Ensure the library compiles in a no_std env run: cargo build -p rust-fsm --no-default-features --features "dsl" - name: Run tests env: RUST_BACKTRACE: 1 run: cargo test