name: Rust

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Build
      run: cargo build --verbose --all
    - name: Run tests
      run: cargo test --verbose --all

name: Rust

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Run Rustfmt
      run: cargo fmt -- --check
    - name: Build
      run: cargo build --verbose --all
    - name: Run tests
      run: cargo test --verbose --all

Add cargo fmt to github-actions config
Add cargo fmt to github-actions config
