mirror of https://github.com/pwndbg/pwndbg.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
615 B
YAML
31 lines
615 B
YAML
name: Lint
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Cache for pip
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ~/.cache/pip
|
|
key: ${{ matrix.os }}-cache-pip
|
|
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- name: Install linters
|
|
run: |
|
|
pip install isort
|
|
pip install black
|
|
pip install flake8
|
|
|
|
- name: Run linters
|
|
run: |
|
|
git diff-index --quiet HEAD -- pwndbg tests
|
|
./lint.sh
|