Skip to content

Commit a03338c

Browse files
authored
feat: change to rust edition 2024 (#630)
* feat: change to rust edition 2024 Signed-off-by: Keming <kemingy94@gmail.com> * update ci lint rust edition Signed-off-by: Keming <kemingy94@gmail.com> --------- Signed-off-by: Keming <kemingy94@gmail.com>
1 parent fac48be commit a03338c

File tree

9 files changed

+91
-94
lines changed

9 files changed

+91
-94
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,18 @@ jobs:
4242
- uses: actions/setup-python@v5
4343
with:
4444
python-version: 3.9
45+
- name: Set up Rust
46+
uses: dtolnay/rust-toolchain@stable
4547
- name: Install dependencies
4648
run: make install
47-
- name: install node for pyright
48-
uses: actions/setup-node@v4
49-
with:
50-
node-version: 18
51-
- name: install pyright
52-
run: npm install -g pyright
5349
- name: Lint
5450
run: make lint semantic_lint
5551

5652
test:
5753
runs-on: ${{ matrix.os }}
5854
timeout-minutes: 20
5955
strategy:
56+
fail-fast: false
6057
matrix:
6158
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6259
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14]

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
steps:
130130
- uses: actions/download-artifact@v4
131131
- name: Generate artifact attestation
132-
uses: actions/attest-build-provenance@v1
132+
uses: actions/attest-build-provenance@v2
133133
with:
134134
subject-path: 'wheels-*/*'
135135
- name: Publish to PyPI

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.4.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-docstring-first
66
- id: check-merge-conflict

0 commit comments

Comments
 (0)