style: apply cargo fmt and add formatting check to CI (#319)

Runs `cargo fmt --check` in the rust_crate CI action to catch
formatting issues before they land.
This commit is contained in:
Eric Seidel
2026-04-01 19:30:44 -07:00
committed by GitHub
parent 50954da68a
commit 0cb43c6349
10 changed files with 95 additions and 73 deletions
+5
View File
@@ -13,6 +13,11 @@ inputs:
runs:
using: "composite"
steps:
- name: Check Formatting
working-directory: ${{ inputs.working_directory }}
shell: ${{ inputs.shell }}
run: cargo fmt --check
- name: Clippy
working-directory: ${{ inputs.working_directory }}
shell: ${{ inputs.shell }}