Skip to content

Add Python bindings #13

Add Python bindings

Add Python bindings #13

Workflow file for this run

name: Rust
# spell-checker:ignore dtolnay
on:
push:
branches: ["main"]
paths:
- 'crates/**'
- 'Cargo.*'
pull_request:
branches: ["main"]
paths:
- 'crates/**'
- 'Cargo.*'
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: clippy, rustfmt
- uses: extractions/setup-just@v2
- name: Lint
run: just lint-rust
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ["stable", "nightly"]
flags: ["", "--release"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Build
run: cargo build ${{ matrix.flags }} --verbose
- name: Run Tests
run: cargo test ${{ matrix.flags }} --verbose