Skip to content

Commit 2aeae70

Browse files
authored
Merge pull request #10 from jepler/update-black-ci-etc
Update pre-commit & build
2 parents 251c846 + 098dab7 commit 2aeae70

File tree

2 files changed

+9
-25
lines changed

2 files changed

+9
-25
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
awk -F '\/' '{ print tolower($2) }' |
2323
tr '_' '-'
2424
)
25-
- name: Set up Python 3.7
25+
- name: Set up Python 3.x
2626
uses: actions/setup-python@v1
2727
with:
28-
python-version: 3.7
28+
python-version: 3.x
2929
- name: Versions
3030
run: |
3131
python3 --version
@@ -42,11 +42,16 @@ jobs:
4242
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
4343
run: |
4444
source actions-ci/install.sh
45-
- name: Pip install Sphinx
45+
- name: Pip install pylint, Sphinx, pre-commit
4646
run: |
47-
pip install --force-reinstall Sphinx sphinx-rtd-theme sphinx-autoapi
47+
pip install --force-reinstall pylint Sphinx sphinx-rtd-theme pre-commit sphinx-autoapi
4848
- name: Library version
4949
run: git describe --dirty --always --tags
50+
- name: Setup problem matchers
51+
uses: adafruit/circuitpython-action-library-ci-problem-matchers@v1
52+
- name: Pre-commit hooks
53+
run: |
54+
pre-commit run --all-files
5055
- name: Clone and build circuitpython unix port
5156
run: |
5257
set -e

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)