Bump project dependencies #68
This file contains hidden or 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
| 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 |