Skip to content

ci: Add concurrency limit #449

ci: Add concurrency limit

ci: Add concurrency limit #449

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install uv
uv pip install --system --upgrade pip wheel
uv pip install --system --quiet '.[lint]'
python -m pip list
- name: Lint with flake8
run: |
python -m flake8 .
- name: Lint with Black
run: |
black --check --diff --verbose .