| 1 | name: Rust |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ "main" ] |
| 6 | pull_request: |
| 7 | branches: [ "main" ] |
| 8 | |
| 9 | env: |
| 10 | CARGO_TERM_COLOR: always |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v6 |
| 17 | - name: Build |
| 18 | run: cargo build --verbose |
| 19 | - name: Run tests |
| 20 | run: cargo test --verbose |