rustfmt.yaml 351 B

123456789101112131415161718
  1. on:
  2. push:
  3. branches: [ master ]
  4. pull_request:
  5. merge_group:
  6. name: Code formatting check
  7. jobs:
  8. rustfmt:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v4
  12. - uses: dtolnay/rust-toolchain@stable
  13. with:
  14. components: rustfmt
  15. - name: Run Rustfmt
  16. run: cargo fmt --all -- --check --verbose