| 1 | name: Rust |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ "main" ] |
| 6 | pull_request: |
| 7 | branches: [ "main" ] |
| 8 | |
| 9 | jobs: |
| 10 | build_and_test: |
| 11 | name: Build and test |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - name: Check out |
| 15 | uses: actions/checkout@v4 |
| 16 | - name: Build |
| 17 | run: cargo build --release --all-features |
| 18 | - name: Test |
| 19 | run: cargo test --release --all-features |