Skip to content

Commit 1b53f23

Browse files
committed
specify locked through env
Signed-off-by: Bugen Zhao <[email protected]>
1 parent d6cb359 commit 1b53f23

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77

8+
env:
9+
UV_LOCKED: true
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
@@ -22,7 +25,7 @@ jobs:
2225

2326
- name: Sync environment
2427
run: |
25-
uv sync --locked
28+
uv sync
2629
2730
- name: Build package
2831
run: |

.github/workflows/demos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77

8+
env:
9+
UV_LOCKED: true
10+
811
jobs:
912
test-demos:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)