Skip to content

Merge pull request #459 from camunda-community-hub/renovate/mypy-1.x-… #979

Merge pull request #459 from camunda-community-hub/renovate/mypy-1.x-…

Merge pull request #459 from camunda-community-hub/renovate/mypy-1.x-… #979

Workflow file for this run

name: Lint pyzeebe
on: [push, pull_request]
jobs:
type-checking:
runs-on: ubuntu-latest
container: python:3.8
steps:
- uses: actions/checkout@v4
- name: Init python poetry action
uses: abatilo/actions-poetry@v2.4.0
with:
poetry-version: 1.5.1
- name: Install dependencies
run: poetry install
- name: Lint with mypy
run: |
poetry run mypy pyzeebe
import-checking:
runs-on: ubuntu-latest
container: python:3.8
steps:
- uses: actions/checkout@v4
- name: Init python poetry action
uses: abatilo/actions-poetry@v2.4.0
with:
poetry-version: 1.5.1
- name: Install dependencies
run: poetry install
- name: Check imports
run: |
poetry run isort . --check --diff
format-checking:
runs-on: ubuntu-latest
container: python:3.8
steps:
- uses: actions/checkout@v4
- name: Init python poetry action
uses: abatilo/actions-poetry@v2.4.0
with:
poetry-version: 1.5.1
- name: Install dependencies
run: poetry install
- name: Check imports
run: |
poetry run black --check .