caesium-clt/.github/workflows/fmt.yml

27 lines
424 B
YAML
Raw Normal View History

2024-12-27 20:02:08 +01:00
name: Code formatting
on:
2024-12-27 20:32:22 +01:00
push:
paths:
- 'src/**'
- '.github/**'
pull_request:
paths:
- 'src/**'
- '.github/**'
2024-12-27 20:02:08 +01:00
jobs:
fmt_check:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check code formatting
run: cargo fmt -- --check