Skip to content

Commit

Permalink
ci: add rustfmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 24, 2024
1 parent 60044ae commit 3cde36b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
components: clippy, rustfmt

- name: rust cache
uses: Swatinem/rust-cache@v2
Expand All @@ -86,6 +86,9 @@ jobs:
- name: "rustdoc"
run: cargo rustdoc -p riot-rs-embassy -- -D warnings

- name: rustfmt
run: cargo fmt --check --all

CI-success:
if: ${{ always() }}
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions src/riot-rs-embassy/src/arch/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 3cde36b

Please sign in to comment.