Skip to content

Commit 920dfa3

Browse files
author
Vahid Tavanashad
committed
update pre-commit workflow
1 parent faac2e9 commit 920dfa3

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ jobs:
2020
with:
2121
python-version: '3.12'
2222

23-
- uses: BSFishy/pip-action@v1
23+
- name: Set up pip packages
24+
uses: BSFishy/pip-action@v1
2425
with:
2526
packages: |
27+
codespell
2628
pylint
2729
28-
- name: Version of clang-format
30+
- name: Set up clang-format
2931
run: |
32+
sudo apt-get install -y clang-format-14
33+
sudo unlink /usr/bin/clang-format
34+
sudo ln -s /usr/bin/clang-format-14 /usr/bin/clang-format
3035
clang-format --version
3136
3237
- name: Run pre-commit checks

0 commit comments

Comments
 (0)