@@ -53,14 +53,14 @@ jobs:
53
53
fetch-depth : 0
54
54
- name : Install uv
55
55
run : |
56
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
56
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/uv.txt
57
57
- name : Run gha-utils metadata
58
58
id : project-metadata
59
59
env :
60
60
GITHUB_CONTEXT : ${{ toJSON(github) }}
61
61
run : >
62
62
uvx
63
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/gha-utils.txt
63
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/gha-utils.txt
64
64
--
65
65
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
66
66
74
74
75
75
- name : Install uv
76
76
run : |
77
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
77
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/uv.txt
78
78
- name : Run autopep8
79
79
if : needs.project-metadata.outputs.python_files
80
80
# Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414
84
84
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
85
85
run : >
86
86
uvx
87
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/autopep8.txt
87
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/autopep8.txt
88
88
--
89
89
autopep8 --recursive --in-place --max-line-length 88 --select E501 --aggressive
90
90
${{ needs.project-metadata.outputs.python_files }}
@@ -141,7 +141,7 @@ jobs:
141
141
- name : Install Ruff
142
142
run : >
143
143
uv tool install --with-requirements
144
- https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/ruff.txt ruff
144
+ https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/ruff.txt ruff
145
145
- name : Run Ruff check
146
146
run : |
147
147
ruff check --config ./ruff.toml
@@ -160,7 +160,7 @@ jobs:
160
160
# https://github.com/astral-sh/ruff/issues/3792
161
161
run : >
162
162
uvx
163
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/blacken-docs.txt
163
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/blacken-docs.txt
164
164
--
165
165
blacken-docs
166
166
--line-length 88
@@ -197,7 +197,7 @@ jobs:
197
197
198
198
- name : Install uv
199
199
run : |
200
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
200
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/uv.txt
201
201
- name : Sync uv.lock
202
202
run : |
203
203
uv --no-progress sync --upgrade
@@ -226,11 +226,11 @@ jobs:
226
226
227
227
- name : Install uv
228
228
run : |
229
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
229
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/uv.txt
230
230
- name : Install mdformat
231
231
run : >
232
232
uv tool install --with-requirements
233
- https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/mdformat.txt mdformat
233
+ https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0 /requirements/mdformat.txt mdformat
234
234
- name : Install shfmt
235
235
run : |
236
236
sudo apt install --yes shfmt
0 commit comments