From c548f3970e6a5a02cedffd409cb4b7a9e70d66b3 Mon Sep 17 00:00:00 2001 From: Tom Havlik Date: Wed, 6 Mar 2024 18:39:24 -0600 Subject: [PATCH] github actions --- .github/workflows/rustfmt.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .github/workflows/rustfmt.yml diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml new file mode 100755 index 0000000..68af6ee --- /dev/null +++ b/.github/workflows/rustfmt.yml @@ -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