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.
29 lines
565 B
YAML
29 lines
565 B
YAML
name: Lint
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-22.04, ubuntu-20.04]
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Cache for pip
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.cache/pip
|
|
key: ${{ matrix.os }}-cache-pip
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
./setup.sh
|
|
./setup-dev.sh
|
|
|
|
- name: Run linters
|
|
run: |
|
|
git diff-index --quiet HEAD -- pwndbg tests
|
|
./lint.sh
|