Check cargo fmt in CI.

This commit is contained in:
Jacob Hoffman-Andrews
2021-01-17 11:24:45 -08:00
committed by Martin Algesten
parent 06abdff4bf
commit 5999421d84

View File

@@ -3,6 +3,14 @@ on: [push, pull_request]
name: CI name: CI
jobs: jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Rustfmt
run: cargo fmt -- --check
doc: doc:
name: Docs name: Docs
runs-on: ubuntu-latest runs-on: ubuntu-latest