Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thavlik committed Mar 7, 2024
1 parent 932af46 commit c548f39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Check formatting with rustfmt
run-name: Ensure rustfmt check passes
on: [push]
jobs:
Check-Formatting:
runs-on: rust-latest
steps:
- run: rustup component add rustfmt
- run: rustfmt --edition 2021 --check operator/src/main.rs

0 comments on commit c548f39

Please sign in to comment.