4
0

fmt.yml 387 B

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