chore: Add Rust CI workflow
50a212f9
1 file(s) · +20 −0
| 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 | + | ||
| 15 | + | runs-on: ubuntu-latest |
|
| 16 | + | ||
| 17 | + | steps: |
|
| 18 | + | - uses: actions/checkout@v4 |
|
| 19 | + | - name: Build |
|
| 20 | + | run: cargo build --verbose |