File tree Expand file tree Collapse file tree 3 files changed +17
-23
lines changed Expand file tree Collapse file tree 3 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,14 @@ jobs:
56
56
with :
57
57
ref : ${{ github.event.pull_request.head.sha }} # Pull the commit from the forked repo
58
58
persist-credentials : false # Don't persist credentials for subsequent actions
59
- - name : Set up Python
60
- uses : actions/setup-python@v5
61
- with :
62
- python-version : ' 3.10'
63
59
- name : Install uv
64
- uses : astral-sh/setup-uv@v4
60
+ uses : astral-sh/setup-uv@v6
65
61
with :
66
62
enable-cache : true
63
+ cache-dependency-glob : " uv.lock"
64
+ python-version : ' 3.10'
67
65
- name : Sync dependencies from lock file
68
- run : uv sync --dev
66
+ run : uv sync --frozen --all-extras --group dev
69
67
- name : Run integration tests
70
68
env :
71
69
AWS_REGION : us-east-1
Original file line number Diff line number Diff line change @@ -26,14 +26,15 @@ jobs:
26
26
with :
27
27
persist-credentials : false
28
28
29
- - name : Set up Python
30
- uses : astral-sh/setup-uv@v4
29
+ - name : Install uv
30
+ uses : astral-sh/setup-uv@v6
31
31
with :
32
32
enable-cache : true
33
+ cache-dependency-glob : " uv.lock"
33
34
python-version : ' 3.10'
34
35
35
36
- name : Sync dependencies from lock file
36
- run : uv sync --all-groups --all-extras --all-packages
37
+ run : uv sync --frozen
37
38
38
39
- name : Build
39
40
run : |
Original file line number Diff line number Diff line change @@ -55,18 +55,14 @@ jobs:
55
55
with :
56
56
ref : ${{ inputs.ref }} # Explicitly define which commit to check out
57
57
persist-credentials : false # Don't persist credentials for subsequent actions
58
- - name : Set up Python
59
- uses : astral-sh/setup-uv@v4
60
- with :
61
- enable-cache : true
62
- python-version : ${{ matrix.python-version }}
63
-
64
58
- name : Install uv
65
- uses : astral-sh/setup-uv@v4
59
+ uses : astral-sh/setup-uv@v6
66
60
with :
67
61
enable-cache : true
62
+ cache-dependency-glob : " uv.lock"
63
+ python-version : ${{ matrix.python-version }}
68
64
- name : Sync dependencies from lock file
69
- run : uv sync --dev
65
+ run : uv sync --frozen --all-extras --group dev
70
66
- name : Run Unit tests
71
67
id : tests
72
68
run : uv run poe test-cov
@@ -83,15 +79,14 @@ jobs:
83
79
ref : ${{ inputs.ref }}
84
80
persist-credentials : false
85
81
86
- - name : Set up Python
87
- uses : astral-sh/setup-uv@v4
82
+ - name : Install uv
83
+ uses : astral-sh/setup-uv@v6
88
84
with :
89
85
enable-cache : true
90
- python-version : ${{ matrix.python-version }}
91
-
92
-
86
+ cache-dependency-glob : " uv.lock"
87
+ python-version : ' 3.10'
93
88
- name : Sync dependencies from lock file
94
- run : uv sync --all-groups --all-extras --all-packages
89
+ run : uv sync --frozen --all-extras --group dev
95
90
96
91
- name : Run lint
97
92
id : lint
You can’t perform that action at this time.
0 commit comments