Skip to content

Update README.md

Update README.md #92

name: Style and typing checks for CMG
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.2
- name: Install dependencies
run: |
cd commit_message_generation && poetry install --no-interaction
- name: Lint with Black
run: |
cd commit_message_generation && poetry run black . --check
- name: Check import styling with isort
run: |
cd commit_message_generation && poetry run isort . --check
- name: Check types with mypy
run: |
cd commit_message_generation && poetry run mypy .