Skip to content

Commit

Permalink
Devops: Update pre-commit step in CD workflow to match CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sphuber committed Jul 1, 2024
1 parent 61ae1a5 commit 076cd79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ jobs:
- name: Install aiida-core and pre-commit
uses: ./.github/actions/install-aiida-core
with:
python-version: '3.10'
python-version: '3.11'
extras: '[pre-commit]'
from-requirements: 'false'

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

0 comments on commit 076cd79

Please sign in to comment.