Skip to content

Commit 076cd79

Browse files
committed
Devops: Update pre-commit step in CD workflow to match CI
The CI workflow updated the Python version and dependency requirements for the `pre-commit` job, however, did not apply the same changes to the CD workflow. This can cause differences in pre-commit causing the CI to pass but the CD to fail.
1 parent 61ae1a5 commit 076cd79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
- name: Install aiida-core and pre-commit
4141
uses: ./.github/actions/install-aiida-core
4242
with:
43-
python-version: '3.10'
43+
python-version: '3.11'
4444
extras: '[pre-commit]'
45+
from-requirements: 'false'
4546

4647
- name: Run pre-commit
4748
run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )

0 commit comments

Comments
 (0)