[Test PR] Update setup.py #565
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
- release/* | |
jobs: | |
spelling: | |
name: Spelling check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
curl -L https://git.io/misspell | sudo bash -s -- -b /bin | |
- name: Check spelling | |
run: | | |
misspell -error . | |
cpp: | |
name: CPP code lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Echo clang-format version | |
run: | | |
clang-format --version | |
- name: Lint | |
run: | | |
make cpplint | |
md: | |
name: Markdown code lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install mdl | |
run: | | |
sudo apt-get update | |
sudo apt-get install rubygems | |
sudo gem install mdl | |
- name: Lint | |
run: | | |
make mdlint |