Bump serde from 1.0.200 to 1.0.203 #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install clippy and rustfmt | |
run: rustup component add clippy rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- name: Ruff | |
run: pipx run ruff check | |
- name: Rustfmt | |
run: cargo fmt --all -- --check | |
- name: Clippy (pure rust) | |
run: cargo clippy --tests -- -D warnings | |
- name: Clippy (pyo3) | |
run: cargo clippy --tests --all-features -- -D warnings | |
test-rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test | |
test-python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install pytest | |
run: | | |
pip install --upgrade pip | |
pip install pytest | |
- uses: PyO3/maturin-action@v1 | |
with: | |
command: build | |
- name: Install pep440_rs | |
run: pip install --no-index --find-links target/wheels pep440_rs | |
- run: pytest |