@@ -60,7 +60,7 @@ GitHub action for using a matrix strategy to distribute the build for
6060``` yml
6161jobs :
6262 main :
63- uses : coatl-dev/workflows/.github/workflows/docker-build-push-multi-platform.yml@v4.3.2
63+ uses : coatl-dev/workflows/.github/workflows/docker-build-push-multi-platform.yml@v5.0.0
6464 with :
6565 registry-image : user/app
6666 metadata-tags : |
@@ -111,7 +111,7 @@ GitHub action for using a matrix strategy to distribute the build for
111111` ` ` yml
112112jobs:
113113 main:
114- uses: coatl-dev/workflows/.github/workflows/docker-build-push-multi-registry.yml@v4.3.2
114+ uses: coatl-dev/workflows/.github/workflows/docker-build-push-multi-registry.yml@v5.0.0
115115 with:
116116 dockerhub-repo: user/app
117117 dockerhub-username: ${{ vars.DOCKERHUB_USERNAME }}
182182
183183jobs:
184184 pip-compile-upgrade:
185- uses: coatl-dev/workflows/.github/workflows/pip-compile-upgrade.yml@v4.3.2
185+ uses: coatl-dev/workflows/.github/workflows/pip-compile-upgrade.yml@v5.0.0
186186 with:
187187 path: requirements.txt
188188 secrets:
233233
234234jobs:
235235 pre-commit-autoupdate:
236- uses: coatl-dev/workflows/.github/workflows/pre-commit-autoupdate.yml@v4.3.2
236+ uses: coatl-dev/workflows/.github/workflows/pre-commit-autoupdate.yml@v5.0.0
237237 with:
238238 skip-repos: 'flake8'
239239 secrets:
@@ -258,7 +258,7 @@ to install Python and invoke [`pre-commit`].
258258` ` ` yaml
259259jobs:
260260 main:
261- uses: coatl-dev/workflows/.github/workflows/pre-commit.yml@v4.3.2
261+ uses: coatl-dev/workflows/.github/workflows/pre-commit.yml@v5.0.0
262262 with:
263263 skip-hooks: 'pylint'
264264` ` `
@@ -277,7 +277,7 @@ This workflow will install Python and invoke `pylint` to analyze your code.
277277` ` ` yaml
278278jobs:
279279 main:
280- uses: coatl-dev/workflows/.github/workflows/pylint.yml@v4.3.2
280+ uses: coatl-dev/workflows/.github/workflows/pylint.yml@v5.0.0
281281 with:
282282 path: src
283283` ` `
@@ -313,7 +313,7 @@ Secrets:
313313` ` ` yaml
314314jobs:
315315 main:
316- uses: coatl-dev/workflows/.github/workflows/pypi-upload.yml@v4.3.2
316+ uses: coatl-dev/workflows/.github/workflows/pypi-upload.yml@v5.0.0
317317 with:
318318 python-version: '2.7'
319319 secrets:
@@ -341,41 +341,7 @@ requires =
341341` ` ` yaml
342342jobs:
343343 main:
344- uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@v4.3.2
345- ` ` `
346-
347- # ## .github/workflows/tox-envs.yml
348-
349- This workflow will install Python and invoke tox envs based on the list of
350- Python versions.
351-
352- **Inputs**:
353-
354- - `python-versions` (list[`string`]) : A list of Python versions passed
355- through to [`actions/setup-python`]'s `python-version`. Required.
356-
357- This action sets the proper `tox` env based on the Python version. For example :
358- ` '3.10'` will run `py310`, `'3.9'` will run `py39` and so forth.
359-
360- **Recommendations**:
361-
362- When [testing end-of-life] Python, e.g. 2.7, you need to add the following
363- `requires` statement to your `tox.ini` configuration file :
364-
365- ` ` ` ini
366- [tox]
367- requires =
368- virtualenv<20.22.0
369- ` ` `
370-
371- **Example**:
372-
373- ` ` ` yaml
374- jobs:
375- main:
376- uses: coatl-dev/workflows/.github/workflows/tox-envs.yml@v4.3.2
377- with:
378- python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
344+ uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@v5.0.0
379345` ` `
380346
381347# ## .github/workflows/tox-gh.yml
@@ -410,7 +376,7 @@ and on your workflow:
410376` ` ` yaml
411377jobs:
412378 main:
413- uses: coatl-dev/workflows/.github/workflows/tox-gh.yml@v4.3.2
379+ uses: coatl-dev/workflows/.github/workflows/tox-gh.yml@v5.0.0
414380 with:
415381 python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
416382` ` `
@@ -420,12 +386,27 @@ jobs:
420386This workflow will install Python and invoke `tox` to run all envs found in
421387[`env_list`].
422388
389+ **Inputs**:
390+
391+ - `python-versions` (list[`string`]) : Version range or exact version of Python
392+ to use, using SemVer's version range syntax. Required.
393+
394+ > [!NOTE]
395+ > Form more ways to use the `python-versions` input, please refer to
396+ > ["Using the `python-version` input"] for [`actions/setup-python`].
397+
423398**Example**:
424399
425400` ` ` yaml
426401jobs:
427402 main:
428- uses: coatl-dev/workflows/.github/workflows/tox.yml@v4.3.2
403+ uses: coatl-dev/workflows/.github/workflows/tox.yml@v5.0.0
404+ with:
405+ python-versions: |
406+ 3.9
407+ 3.10
408+ 3.11
409+ 3.12
429410` ` `
430411
431412# ## .github/workflows/uv-pip-compile-upgrade
471452
472453jobs:
473454 pip-compile-upgrade:
474- uses: coatl-dev/workflows/.github/workflows/uv-pip-compile-upgrade.yml@v4.3.2
455+ uses: coatl-dev/workflows/.github/workflows/uv-pip-compile-upgrade.yml@v5.0.0
475456 with:
476457 path: requirements.txt
477458 secrets:
@@ -491,4 +472,5 @@ jobs:
491472[Temporarily disabling hooks] : https://pre-commit.com/#temporarily-disabling-hooks
492473[`tox-gh`] : https://github.com/tox-dev/tox-gh
493474[testing end-of-life] : https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions
475+ ["Using the `python-version` input"] : https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-input
494476[`uv pip compile --upgrade`] : https://docs.astral.sh/uv/reference/cli/#uv-pip-compile--upgrade
0 commit comments