Files
libsignal/.github/workflows/lints.yml
Jordan Rose 77a5451c1f Add flake8 for checking our Python scripts
We only have one for now, but we can start enforcing this now.
2020-11-30 11:02:57 -08:00

23 lines
483 B
YAML

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: [ master ]
paths: ['**/*.sh', '**/*.py']
pull_request:
paths: ['**/*.sh', '**/*.py']
jobs:
lint:
name: Check helper scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip3 install flake8
- run: shellcheck **/*.sh
- run: python3 -m flake8 .