Update maturin requirement from <0.14,>=0.13 to >=0.13,<1.8 in /tsar-py #134
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: Build | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --no-deps -- -D warnings | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: '**/pyproject.toml' | |
- run: pip install -e ./tsar-py | |
- run: pip install pylint black mypy | |
- run: black --check --config ./tsar-py/pyproject.toml tsar-py | |
- run: mypy --config-file ./tsar-py/pyproject.toml tsar-py | |
- run: pylint --rcfile tsar-py/pyproject.toml tsar-py | |
build: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: '**/pyproject.toml' | |
- run: pip install -e ./tsar-py |