Merge pull request #18 from gluonhq/patch-v0.40.1 #8
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: Lints | |
# This is in a separate job because we have shell scripts scattered across all our targets, | |
# *and* some of them have common dependencies. | |
on: | |
push: | |
branches: [ main ] | |
paths: ['**/*.sh', '**/*.py', '.github/workflows/lints.yml'] | |
pull_request: | |
paths: ['**/*.sh', '**/*.py', '.github/workflows/lints.yml'] | |
jobs: | |
lint: | |
name: Check helper scripts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip3 install flake8 mypy | |
- run: shellcheck **/*.sh bin/verify_duplicate_crates bin/adb-run-test | |
- run: python3 -m flake8 . | |
# Only include typed Python scripts here. | |
- run: python3 -m mypy bin/fetch_archive.py --python-version 3.8 --strict |