meadow 0.4.0

Robotics-focused middleware for embedded Linux
Documentation
name: CI

on:
  push:
    branches: [ main, ci ]
  pull_request:
    branches: [ main ]
    types:
    - opened
    - reopened
    - synchronize
    - ready_for_review

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
    name: build-${{ matrix.toolchain }}
    strategy:
      fail-fast: false
      matrix:
        toolchain:
          - 1.81.0
          - stable
    
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install toolchain
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: ${{ matrix.toolchain }}
          profile: minimal
          components: clippy
      
      - name: Fmt
        run: rustup component add rustfmt
      
      - name: Default CI
        run: cargo run -p ci
      
      - name: QUIC CI
        run: cargo run -p ci --features quic