Small build system updates, make RIOT_USEMODULE optional #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Formal checks | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
rustfmt: | |
runs-on: ubuntu-latest | |
container: rustlang/rust:nightly | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Run cargo-fmt | |
run: cargo fmt --check | |
cargo-readme: | |
runs-on: ubuntu-latest | |
container: rustlang/rust:nightly | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions-rs/[email protected] | |
with: | |
crate: cargo-readme | |
version: latest | |
- name: Verify that README.rst is up to date | |
run: cargo +nightly readme | diff /dev/stdin README.md |