Skip to content

modularize example state machine code for generic usage #260

modularize example state machine code for generic usage

modularize example state machine code for generic usage #260

Workflow file for this run

name: CI checks
on:
merge_group:
pull_request:
push:
branches:
- main
jobs:
build:
name: Build
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
test:
name: Test
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
fmt:
name: Rustfmt
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check