mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
23 lines
483 B
YAML
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 .
|