update readme and add action
Some checks failed
CI / Build and test (ubuntu-latest) (push) Successful in 50s
CI / Build and test (ubuntu-latest) (pull_request) Successful in 40s
CI / Build and test (Windows) (pull_request) Failing after 4s
CI / Build and test (Windows) (push) Failing after 8s

This commit is contained in:
2025-11-10 22:15:47 +01:00
parent 29b34fa3f0
commit c8deb6f0e8
6 changed files with 136 additions and 11 deletions

30
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: CI
on:
push:
pull_request:
jobs:
test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, Windows]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry and git index
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build and test
run: cargo test --workspace --verbose