Skip to content

Bump project dependencies #68

Bump project dependencies

Bump project dependencies #68

on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
python-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: astral-sh/setup-uv@v6
with:
python-version: "3.10"
- run: |
uv tool install maturin
uv sync
source .venv/bin/activate
maturin develop
python -c "import dantzig as dz"
- run: uv run black python/dantzig tests --check
- run: uv run isort python/dantzig tests --check
- run: uv run ruff check python/dantzig tests
- run: uv run mypy
- run: uv run pytest
rust-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo fmt --check
- run: cargo clippy -- -D warnings
- run: cargo test