We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a2499 commit 8693510Copy full SHA for 8693510
.github/workflows/ci.yml
@@ -175,3 +175,24 @@ jobs:
175
wget https://stm32-rs.github.io/stm32-rs/stm32f411.svd.patched
176
svdtools convert --input-format xml stm32f411.svd.patched stm32f411.yaml
177
cargo run --release -- -i stm32f411.yaml
178
+
179
+ fmt:
180
+ name: Rustfmt
181
+ runs-on: ubuntu-latest
182
+ steps:
183
+ - uses: actions/checkout@v3
184
185
+ - uses: actions-rs/toolchain@v1
186
+ with:
187
+ profile: minimal
188
+ toolchain: stable
189
+ override: true
190
+ components: rustfmt
191
192
+ - name: Cache Dependencies
193
+ uses: Swatinem/rust-cache@v1
194
195
+ - uses: actions-rs/cargo@v1
196
197
+ command: fmt
198
+ args: --all -- --check
.github/workflows/rustfmt.yml
0 commit comments