summaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
blob: b33d1521bcc82af29332f56d5ad93ef7d041a650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Rust

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build-and-test:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Run tests
      run: make unit-tests
    - name: fmt
      run: cargo fmt --all -- --check
    - name: clippy
      run: cargo clippy