ci: add pipeline to build and test crate

This commit is contained in:
Himadri Bhattacharjee
2025-07-17 07:34:50 +00:00
committed by GitHub
parent a1445b2f03
commit e8970f21ff

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

@@ -0,0 +1,22 @@
name: Build and test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
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