Skip to content

copy requirements.txt only #35

copy requirements.txt only

copy requirements.txt only #35

Workflow file for this run

name: Lint
on:
push:
pull_request:
workflow_dispatch:
env:
PYTHON_VERSION: '3.11.9'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
shell: bash
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"
cache: 'poetry'
- name: Install Dependencies
shell: bash
run: poetry install
- name: Run ruff check
shell: bash
run: poetry run ruff check
- name: Run mypy
shell: bash
run: poetry run mypy .