e58f06d9fa
Stripped upstream git history; starting point for replacing the native SWELL/Win32 mapping UI with something more suited to bulk editing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
16 lines
330 B
YAML
16 lines
330 B
YAML
name: fmt
|
|
description: Format Rust code via rustfmt
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@1.84.0
|
|
with:
|
|
components: rustfmt
|
|
|
|
- name: Rust cache
|
|
uses: swatinem/rust-cache@v2
|
|
|
|
- name: cargo fmt
|
|
run: cargo fmt --all -- --check
|
|
shell: sh |