.github/workflows/rust.yml
raw| 1 | name: Rust |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | pull_request: |
| 6 | |
| 7 | env: |
| 8 | CARGO_TERM_COLOR: always |
| 9 | |
| 10 | jobs: |
| 11 | build: |
| 12 | |
| 13 | runs-on: ubuntu-latest |
| 14 | |
| 15 | steps: |
| 16 | - uses: actions/checkout@v6 |
| 17 | - name: Build |
| 18 | run: cargo build --verbose |
| 19 | env: |
| 20 | RUSTFLAGS: -Dwarnings |
| 21 | - name: Run tests |
| 22 | run: cargo test --verbose |
| 23 | env: |
| 24 | RUSTFLAGS: -Dwarnings |