name: Rust

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

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

Enable build and test workflows
Enable build and test workflows

I found a break in one of the docs examples, so it seems worthwhile to add build tests?