@@ -58,14 +58,14 @@ jobs:
58
58
fetch-depth : 0
59
59
- name : Install uv
60
60
run : |
61
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
61
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/uv.txt
62
62
- name : Run gha-utils metadata
63
63
id : project-metadata
64
64
env :
65
65
GITHUB_CONTEXT : ${{ toJSON(github) }}
66
66
run : >
67
67
uvx
68
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/gha-utils.txt
68
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/gha-utils.txt
69
69
--
70
70
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
71
71
79
79
80
80
- name : Install uv
81
81
run : |
82
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
82
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/uv.txt
83
83
- name : Run autopep8
84
84
if : needs.project-metadata.outputs.python_files
85
85
# Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414
@@ -89,14 +89,14 @@ jobs:
89
89
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
90
90
run : >
91
91
uvx
92
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/autopep8.txt
92
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/autopep8.txt
93
93
--
94
94
autopep8 --recursive --in-place --max-line-length 88 --select E501 --aggressive
95
95
${{ needs.project-metadata.outputs.python_files }}
96
96
- name : Install Ruff
97
97
run : >
98
98
uv tool install --with-requirements
99
- https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/ruff.txt ruff
99
+ https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/ruff.txt ruff
100
100
# --fix : Automatically fix issues that can be fixed.
101
101
# --unsafe-fixes : Include fixes that may not retain the original intent of the code.
102
102
# See: https://docs.astral.sh/ruff/linter/#fix-safety
@@ -143,7 +143,7 @@ jobs:
143
143
# https://github.com/astral-sh/ruff/issues/3792
144
144
run : >
145
145
uvx
146
- --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/blacken-docs.txt
146
+ --with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/blacken-docs.txt
147
147
--
148
148
blacken-docs
149
149
--line-length 88
@@ -180,7 +180,7 @@ jobs:
180
180
181
181
- name : Install uv
182
182
run : |
183
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
183
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/uv.txt
184
184
- name : Sync uv.lock
185
185
run : |
186
186
uv --no-progress sync --upgrade
@@ -209,11 +209,11 @@ jobs:
209
209
210
210
- name : Install uv
211
211
run : |
212
- python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/uv.txt
212
+ python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/uv.txt
213
213
- name : Install mdformat
214
214
run : >
215
215
uv tool install --with-requirements
216
- https://raw.githubusercontent.com/kdeldycke/workflows/main /requirements/mdformat.txt mdformat
216
+ https://raw.githubusercontent.com/kdeldycke/workflows/v4.19.1 /requirements/mdformat.txt mdformat
217
217
- name : Install shfmt
218
218
run : |
219
219
sudo apt install --yes shfmt
0 commit comments