diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56649bcf5..b0b86d8c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 diff --git a/src/riot-rs-embassy/src/arch/mod.rs b/src/riot-rs-embassy/src/arch/mod.rs index e69de29bb..8b1378917 100644 --- a/src/riot-rs-embassy/src/arch/mod.rs +++ b/src/riot-rs-embassy/src/arch/mod.rs @@ -0,0 +1 @@ +