Skip to content

Commit c23c3e9

Browse files
committed
fixup! chore(ci): Switch to uv for linux and macos builds
1 parent 50f6a56 commit c23c3e9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/python.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python-version: 3.9
2626
architecture: x64
2727
- name: Install the latest version of uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@v7
2929
with:
3030
version: "latest"
3131

@@ -54,7 +54,7 @@ jobs:
5454
steps:
5555
- uses: actions/checkout@v3
5656
- name: Install uv
57-
uses: astral-sh/setup-uv@v6
57+
uses: astral-sh/setup-uv@v7
5858

5959
- name: Install Protoc
6060
uses: arduino/setup-protoc@v2
@@ -116,6 +116,10 @@ jobs:
116116

117117
- uses: dtolnay/rust-toolchain@nightly
118118

119+
- name: Install the latest version of uv
120+
uses: astral-sh/setup-uv@v7
121+
with:
122+
version: "latest"
119123
- name: Install Protoc
120124
uses: arduino/setup-protoc@v2
121125
with:
@@ -135,11 +139,11 @@ jobs:
135139
- name: Install built wheel
136140
env:
137141
PATH: $PATH:$HOME/.local/bin
138-
if: matrix.target == 'x86_64'
142+
if: matrix.target == 'aarch64'
139143
run: |
140-
$HOME/.local/bin/uv sync
141-
$HOME/.local/bin/uv pip install libs/gl-client-py/dist/gl_client*.whl --force-reinstall
142-
$HOME/.local/bin/uv run python3 -c "import glclient;creds=glclient.Credentials();signer=glclient.Signer(b'\x00'*32,'bitcoin', creds);print(repr(creds));print(signer.version())"
144+
uv sync
145+
uv pip install libs/gl-client-py/dist/gl_client*.whl --force-reinstall
146+
uv run python3 -c "import glclient;creds=glclient.Credentials();signer=glclient.Signer(b'\x00'*32,'bitcoin', creds);print(repr(creds));print(signer.version())"
143147
144148
- name: Upload wheels
145149
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)