Skip to content

Commit 7ba30e9

Browse files
committed
Control Python version used by "Check Category Order Metadata" workflow
Previously, the workflow would use whichever version of Python was installed on the GitHub Actions runner machine. This meant that an update to the runner environment could break the workflow at any time. The "actions/setup-python" action is now used to install the project's standardized version of Python, as specified by the pyproject.toml metadata file.
1 parent 5e8e510 commit 7ba30e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/check-order-metadata-task.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
- name: Checkout repository
5555
uses: actions/checkout@v4
5656

57+
- name: Install Python
58+
uses: actions/setup-python@v5
59+
with:
60+
python-version-file: pyproject.toml
61+
5762
- name: Install Poetry
5863
run: |
5964
pipx install \

0 commit comments

Comments
 (0)