Skip to content

Commit b5d9e5e

Browse files
authored
Merge pull request #7 from sommersoft/build_yml_local_pip
Bring build.yml To New Standard Version
2 parents 85ad409 + 6003f7e commit b5d9e5e

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,22 @@ jobs:
2525
- name: Versions
2626
run: |
2727
python3 --version
28-
- uses: actions/checkout@v1
28+
- name: Checkout Current Repo
29+
uses: actions/checkout@v1
2930
with:
3031
submodules: true
31-
- name: Install deps
32+
- name: Checkout tools repo
33+
uses: actions/checkout@v2
34+
with:
35+
repository: adafruit/actions-ci-circuitpython-libs
36+
path: actions-ci
37+
- name: Install dependencies
38+
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
39+
run: |
40+
source actions-ci/install.sh
41+
- name: Pip install pylint, black, & Sphinx
3242
run: |
33-
sudo apt-get install -y gettext
34-
pip install -r requirements.txt
35-
pip install circuitpython-build-tools Sphinx sphinx-rtd-theme
36-
pip install --force-reinstall pylint==1.9.2
43+
pip install --force-reinstall pylint==1.9.2 black==19.10b0 Sphinx sphinx-rtd-theme
3744
- name: Library version
3845
run: git describe --dirty --always --tags
3946
- name: PyLint

0 commit comments

Comments
 (0)