Skip to content

Commit ea7c8a7

Browse files
⬆️ [pre-commit.ci] pre-commit autoupdate
1 parent 127893a commit ea7c8a7

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
submodules: true
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Build wheels
@@ -34,9 +34,9 @@ jobs:
3434
command: build
3535
args: --release --out dist
3636
- name: Upload wheels
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
39-
name: wheels
39+
name: linux-${{ matrix.python-version }}-wheels
4040
path: dist
4141

4242
windows:
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
submodules: true
5151
- name: Set up Python ${{ matrix.python-version }}
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- uses: dtolnay/rust-toolchain@nightly
@@ -59,9 +59,9 @@ jobs:
5959
command: build
6060
args: --release --out dist
6161
- name: Upload wheels
62-
uses: actions/upload-artifact@v3
62+
uses: actions/upload-artifact@v4
6363
with:
64-
name: wheels
64+
name: win-${{ matrix.python-version }}-wheels
6565
path: dist
6666

6767
macos:
@@ -74,7 +74,7 @@ jobs:
7474
with:
7575
submodules: true
7676
- name: Set up Python ${{ matrix.python-version }}
77-
uses: actions/setup-python@v4
77+
uses: actions/setup-python@v5
7878
with:
7979
python-version: ${{ matrix.python-version }}
8080
- uses: dtolnay/rust-toolchain@nightly
@@ -89,9 +89,9 @@ jobs:
8989
command: build
9090
args: --release --out dist
9191
- name: Upload wheels
92-
uses: actions/upload-artifact@v3
92+
uses: actions/upload-artifact@v4
9393
with:
94-
name: wheels
94+
name: mac-${{ matrix.python-version }}-wheels
9595
path: dist
9696

9797
linux-cross:
@@ -111,20 +111,30 @@ jobs:
111111
manylinux: auto
112112
args: --release --out dist --interpreter 3.9 3.10 3.11 3.12 3.13
113113
- name: Upload wheels
114-
uses: actions/upload-artifact@v3
114+
uses: actions/upload-artifact@v4
115115
with:
116-
name: wheels
116+
name: linux-c-${{ matrix.target }}-wheels
117117
path: dist
118118

119-
releases:
119+
merge:
120120
runs-on: ubuntu-latest
121121
needs: [linux, windows , macos , linux-cross]
122+
steps:
123+
- name: Merge Artifacts
124+
uses: actions/upload-artifact/merge@v4
125+
with:
126+
name: wheels
127+
delete-merged: true
128+
129+
releases:
130+
runs-on: ubuntu-latest
131+
needs: [merge]
122132
if: startsWith(github.ref, 'refs/tags/')
123133
steps:
124134
- uses: actions/checkout@v4
125135

126136
- name: Set up Python
127-
uses: actions/setup-python@v3
137+
uses: actions/setup-python@v5
128138
with:
129139
python-version: 3.11
130140

@@ -133,7 +143,7 @@ jobs:
133143
pip install twine
134144
135145
- name: get dist artifacts
136-
uses: actions/download-artifact@v3
146+
uses: actions/download-artifact@v4
137147
with:
138148
name: wheels
139149
path: dist

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_language_version:
44
python: python3.10
55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.8.4
7+
rev: v0.11.2
88
hooks:
99
- id: ruff
1010
args:

0 commit comments

Comments
 (0)