| 1 |
name: Rustfmt |
| 2 |
|
| 3 |
on: [push] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build: |
| 7 |
runs-on: ubuntu-latest |
| 8 |
|
| 9 |
steps: |
| 10 |
- uses: actions/checkout@v1 |
| 11 |
- uses: actions-rs/toolchain@v1 |
| 12 |
with: |
| 13 |
toolchain: stable |
| 14 |
profile: minimal |
| 15 |
components: clippy, rustfmt |
| 16 |
override: true |
| 17 |
- name: Run rustfmt |
| 18 |
run: make format-check |