The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
901 B
47 lines
901 B
3 years ago
|
name: Lint
|
||
5 years ago
|
|
||
4 years ago
|
concurrency:
|
||
3 years ago
|
group: lint-${{ github.head_ref }}
|
||
4 years ago
|
cancel-in-progress: true
|
||
|
|
||
5 years ago
|
on:
|
||
|
push:
|
||
|
paths:
|
||
|
- "**.py"
|
||
3 years ago
|
- ".github/workflows/lint.yml"
|
||
5 years ago
|
pull_request:
|
||
|
paths:
|
||
|
- "**.py"
|
||
3 years ago
|
- ".github/workflows/lint.yml"
|
||
5 years ago
|
|
||
|
jobs:
|
||
|
|
||
3 years ago
|
pylint:
|
||
5 years ago
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
5 years ago
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
5 years ago
|
with:
|
||
|
python-version: '3.x'
|
||
3 years ago
|
- run: python -m pip install pylint
|
||
5 years ago
|
- run: pylint mesonbuild
|
||
|
|
||
4 years ago
|
custom_lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: '3.x'
|
||
|
- run: python ./run_custom_lint.py
|
||
|
|
||
5 years ago
|
mypy:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
5 years ago
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
5 years ago
|
with:
|
||
|
python-version: '3.x'
|
||
|
- run: python -m pip install mypy
|
||
5 years ago
|
- run: python run_mypy.py
|