LEDs: Expose presence #57
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: docker.io/rust | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Add rustfmt component | |
run: rustup component add rustfmt | |
- name: Run cargo-fmt | |
run: cargo fmt --check | |
cargo-readme: | |
runs-on: ubuntu-latest | |
container: docker.io/rust | |
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 readme | diff /dev/stdin README.md |