Skip to content

Deps: Bump actions/checkout from 4.1.4 to 4.1.6 #26

Deps: Bump actions/checkout from 4.1.4 to 4.1.6

Deps: Bump actions/checkout from 4.1.4 to 4.1.6 #26

Workflow file for this run

name: 📋 PR Checks
on:
pull_request:
push:
branches: [main]
env:
MIN_SUPPORTED_PYTHON: "3.8"
PYTHON_DEPENDENCIES: ".[dev]"
jobs:
lint:
name: 🔍 Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- name: Set up Python ${{ env.MIN_SUPPORTED_PYTHON }}
uses: actions/setup-python@v5.0.0
with:
python-version: ${{ env.MIN_SUPPORTED_PYTHON }}
cache: pip
- name: Install dependencies
run: python -m pip install $PYTHON_DEPENDENCIES
- name: Lint (ruff)
run: ruff check --output-format github .
- name: Lint (mypy)
run: mypy .
format:
name: 🎨 Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- name: Set up Python ${{ env.MIN_SUPPORTED_PYTHON }}
uses: actions/setup-python@v5.0.0
with:
python-version: ${{ env.MIN_SUPPORTED_PYTHON }}
cache: pip
- name: Install dependencies
run: python -m pip install $PYTHON_DEPENDENCIES
- name: Format (black)
run: python -m black --check --diff .
- name: Format (isort)
run: python -m isort --check --diff .