Skip to content

Commit

Permalink
build: bump dependencies (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
kahojyun authored Nov 29, 2024
1 parent d47c67c commit 28bdff5
Show file tree
Hide file tree
Showing 20 changed files with 323 additions and 217 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Cargo build
run: cargo build --verbose --locked
run: cargo build --workspace --verbose --locked
- name: Cargo test
run: cargo test --verbose
run: cargo test --workspace --verbose
- name: Cargo fmt
run: cargo fmt --check
run: cargo fmt --all --check
- name: Cargo clippy
run: cargo clippy --all-targets -- -D warnings
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Sync project
Expand All @@ -49,6 +49,8 @@ jobs:
run: uv run ruff format --check
- name: Ruff lint
run: uv run ruff check --output-format=github
- name: Basedpyright
run: uv run basedpyright
- name: Stubtest
run: uv run task stubtest
- name: Pytest with lowest direct dependencies
Expand Down Expand Up @@ -107,13 +109,13 @@ jobs:
run: (Get-Content -Path Cargo.toml) -replace '^version = "0.0.0-dev"$', 'version = "${{ needs.release.outputs.version }}"' | Set-Content -Path Cargo.toml
- uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: "3.x"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -138,13 +140,13 @@ jobs:
run: (Get-Content -Path Cargo.toml) -replace '^version = "0.0.0-dev"$', 'version = "${{ needs.release.outputs.version }}"' | Set-Content -Path Cargo.toml
- uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: "3.x"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -168,13 +170,13 @@ jobs:
run: (Get-Content -Path Cargo.toml) -replace '^version = "0.0.0-dev"$', 'version = "${{ needs.release.outputs.version }}"' | Set-Content -Path Cargo.toml
- uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: "3.x"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -232,7 +234,7 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: 'wheels-*/*'
subject-path: "wheels-*/*"
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
with:
Expand Down
Loading

0 comments on commit 28bdff5

Please sign in to comment.