diff options
Diffstat (limited to '.github/workflows/rustfmt.yml')
-rw-r--r-- | .github/workflows/rustfmt.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml new file mode 100644 index 0000000..9002962 --- /dev/null +++ b/.github/workflows/rustfmt.yml @@ -0,0 +1,18 @@ +name: Rustfmt + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + components: clippy, rustfmt + override: true + - name: Run rustfmt + run: make format-check |