rp-hal-boards/.github/workflows/check.yml
Jennifer Wilcox 778a87dfaa Also run the checks on PRs
I forgot you have to add that event explicitly.
2021-04-17 14:21:55 -05:00

15 lines
379 B
YAML

on: [push, pull_request]
name: CI Checks
jobs:
check:
name: Check and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv6m-none-eabi
- run: "cargo check"
- run: "cargo fmt -- --check"
- run: "cargo clippy -- -Dwarnings"