ci: add Rust CI workflow

Adds .github/workflows/rust.yml with cargo build and test on push/PR to main.
This commit is contained in:
drlexpeterka-collab
2026-05-24 22:22:29 -04:00
committed by GitHub
parent 5a9550d388
commit f967df7f01

22
.github/workflows/rust.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose