Skip to content

Update CI to limit runs to modified files #23

Update CI to limit runs to modified files

Update CI to limit runs to modified files #23

Workflow file for this run

name: Linting & Style Checks
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up Python 3.11
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: '.github/workflows/requirements/style.txt'
- name: Install Python dependencies
run: |
pip install -r .github/workflows/requirements/style.txt
- name: Lint and Format Check with Flake8 and Black
run: |
black --diff --check .
flake8