Skip to content

Commit 1affb83

Browse files
committed
Check formatting on CI
1 parent 2cdc6c2 commit 1affb83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,9 @@ steps:
109109
- script: cargo xbuild
110110
workingDirectory: example-kernel
111111
displayName: 'Build Example Kernel'
112+
113+
- script: rustup component add rustfmt
114+
displayName: 'Install Rustfmt'
115+
116+
- script: cargo fmt -- --check
117+
displayName: 'Check Formatting'

0 commit comments

Comments
 (0)