Check cargo fmt in CI.

This commit is contained in:
Jacob Hoffman-Andrews authored and Martin Algesten committed 2021-01-17 21:56:28 +01:00
1 parent 06abdff4bf
commit 5999421d84
1 file changed
+8
+8
View File
@@ -3,6 +3,14 @@ on: [push, pull_request]
name: CI
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Rustfmt
run: cargo fmt -- --check
doc:
name: Docs
runs-on: ubuntu-latest