Add fmt check to CI
@@ -62,6 +62,14 @@ jobs:
wasm-pack test --headless --chrome
wasm-pack test --headless --firefox
+ format:
+ name: Rustfmt CI
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: cargo fmt --version
+ - run: cargo fmt -- --check
+
docs:
name: Documentation CI
runs-on: windows-latest
