1on: [push, pull_request] 2 3name: Continuous integration 4 5jobs: 6 test: 7 name: Test 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/checkout@v3 11 - uses: dtolnay/rust-toolchain@1.59.0 12 with: 13 components: rustfmt 14 - run: cargo fmt -- --check 15 - run: cargo test 16 - run: cargo bench 17