freertos-sys2 0.2.1

Low-level bindings to FreeRTOS. User's responsibility to provide the FreeRTOS
Documentation
on:
  push:
    branches-ignore:
      - '**.tmp'

name: ci

jobs:
  clippy_check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions-rs/toolchain@v1
        with:
            toolchain: 1.59
            components: clippy
            override: true
      - name: Cache Rust dependencies
        uses: Swatinem/rust-cache@v1
      - uses: actions-rs/clippy-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features
  rustfmt:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: 1.59
          override: true
          components: rustfmt

      - name: Cache Rust dependencies
        uses: Swatinem/rust-cache@v1

      - uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check