Merge pull request #60 from freedomofpress/better-blocklist #47
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: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'poetry' | |
- name: Install Python dependencies | |
run: poetry install --with=dev | |
- name: Run Flake8 | |
run: poetry run flake8 . | |
- name: Run Black | |
run: poetry run black --check . | |
- name: Run isort | |
run: poetry run isort --check --diff . |