| 1 | on: [push, pull_request] |
| 2 | |
| 3 | jobs: |
| 4 | build_and_test: |
| 5 | name: ringbuf |
| 6 | runs-on: ubuntu-latest |
| 7 | steps: |
| 8 | - uses: actions/checkout@v2 |
| 9 | - uses: actions-rs/toolchain@v1 |
| 10 | with: |
| 11 | toolchain: stable |
| 12 | - run: cargo check --no-default-features |
| 13 | - run: cargo check --no-default-features --features alloc |
| 14 | - run: cargo test |