1
0
Fork 0

Verify Markdown documents in linting workflow

Also re-order to perform shellcheck first because it
requires the least installation work compared to pylint
and markdownlint.  The reason being if we're going to fail
during shellcheck, then we fail faster (and leave heavier
tasks for further down the line).
This commit is contained in:
krcroft 2020-01-05 17:59:13 -08:00 committed by Patryk Obara
parent 343b9babca
commit 312a763509
2 changed files with 38 additions and 2 deletions

View file

@ -11,14 +11,21 @@ jobs:
with:
fetch-depth: 1
- run: sudo apt-get update
- name: Run shellcheck
run: ./scripts/verify-bash.sh
- name: Install pylint
run: |
sudo apt-get install python3-setuptools
sudo pip3 install pylint beautifulsoup4 html5lib
- name: Run pylint
run: ./scripts/verify-python.sh
- name: Run shellcheck
run: ./scripts/verify-bash.sh
- name: Install markdownlint
run: |
sudo apt-get install ruby
sudo gem install mdl
sudo chmod go-w /usr/share/rust/.cargo/bin
- name: Run markdownlint
run: ./scripts/verify-markdown.sh
build_clang_static_analyser:
name: Clang static analyzer