Skip to content

chore(deps): bump the pip group across 1 directory with 11 updates #9

chore(deps): bump the pip group across 1 directory with 11 updates

chore(deps): bump the pip group across 1 directory with 11 updates #9

Workflow file for this run

name: Lint
on:
push:
branches: [master, develop]
paths:
- "engine/**"
- ".github/workflows/lint.yml"
pull_request:
branches: [master, develop]
paths:
- "engine/**"
- ".github/workflows/lint.yml"
jobs:
ruff:
name: Ruff Linting
runs-on: ubuntu-latest
defaults:
run:
working-directory: engine
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --with dev --no-root
- name: Run Ruff
run: poetry run ruff check .
- name: Run Ruff format check
run: poetry run ruff format --check .
mypy:
name: MyPy Type Checking
runs-on: ubuntu-latest
defaults:
run:
working-directory: engine
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --with dev --no-root
- name: Run MyPy
run: poetry run mypy codeflow_engine --ignore-missing-imports