Skip to content

Commit 9673185

Browse files
Call pre-commit from the build workflow
1 parent 77b49bc commit 9673185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ jobs:
3636
run: |
3737
sudo apt-get install gettext
3838
pip install -r requirements.txt
39+
pip install pre-commit
3940
- name: Library version
4041
run: git describe --dirty --always --tags
42+
- name: Pre-commit hooks
43+
run: |
44+
pre-commit run --all-files
4145
- name: Build assets
4246
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2
4347
- name: Build docs

0 commit comments

Comments
 (0)