Finite state machines in rust; bendns fork to add types.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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