Skip to content

Update pyo3 to v0.22 and update code to use pyo3 Bound types #679

Update pyo3 to v0.22 and update code to use pyo3 Bound types

Update pyo3 to v0.22 and update code to use pyo3 Bound types #679

Workflow file for this run

name: Rust
on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
jobs:
lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
tests:
strategy:
matrix:
runner:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions-rs/cargo@v1
with:
command: check
- uses: actions-rs/cargo@v1
with:
command: test
benchmarks:
runs-on: ubuntu-latest
if: github.base_ref != ''
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: boa-dev/criterion-compare-action@v3
with:
features: bench
branchName: ${{ github.base_ref }}