Skip to content

Commit

Permalink
ci(rustfmt): enforce rustfmt formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMemories committed Feb 23, 2024
1 parent e045c66 commit dd2a7ea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,21 @@ jobs:
- name: "rustdoc generation check"
run: cargo rustdoc -p riot-rs-embassy -- -D warnings

rustfmt:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt

- name: Check rustfmt formatting
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 dd2a7ea

Please sign in to comment.