rustfmt.yaml 363 B

123456789101112131415161718
  1. on:
  2. push:
  3. branches: [ staging, trying ]
  4. pull_request:
  5. name: Rustfmt check
  6. jobs:
  7. fmt:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: actions-rs/toolchain@v1
  12. with:
  13. toolchain: stable
  14. profile: minimal
  15. components: rustfmt
  16. - name: Check fmt
  17. run: cargo fmt -- --check