aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 1d0e51b5d1dda5abdb7f083e42b4674b32f5686b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
on: [push, pull_request]

name: Continuous integration

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: dtolnay/rust-toolchain@1.59.0
        with:
          components: rustfmt
      - run: cargo fmt -- --check
      - run: cargo test
      - run: cargo bench