Skip to content

Commit b50980c

Browse files
committed
fix pre-commit CI on Windows by using bash shell
1 parent b4fac83 commit b50980c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/project-ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
pip install --upgrade pip
7676
pip install -e .[pre-commit]
7777
- name: Run pre-commit
78+
shell: bash
7879
run: |
7980
pre-commit install
80-
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
81+
pre-commit run --all-files || {
82+
git status --short
83+
git diff
84+
exit 1
85+
}

0 commit comments

Comments
 (0)