Skip to content

Commit 776147b

Browse files
committed
Tidy up / fix broken publish
1 parent 2275d7b commit 776147b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/verify.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
1+
PRE_COMMIT_HOME:# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

44
name: Latest commit
@@ -24,6 +24,13 @@ jobs:
2424
outputs:
2525
cache-key: ${{ steps.set-key.outputs.cache-key }}
2626
steps:
27+
- name: Check out committed code
28+
uses: actions/checkout@v4
29+
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
30+
id: python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: ${{ env.DEFAULT_PYTHON }}
2734
- name: Compute cache key
2835
id: set-key
2936
run: echo "${{ runner.os }}-venv-cache-${{ env.CACHE_VERSION }}-${{ steps.python.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'requirements_test.txt', '.pre-commit-config.yaml') }}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)