feat: add StreamActivatedJobs #1260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint pyzeebe | |
on: [push, pull_request] | |
jobs: | |
type-checking: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Init python poetry action | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.8.3 | |
- name: Install dependencies | |
run: poetry install | |
- name: Lint with mypy | |
run: | | |
poetry run mypy pyzeebe | |
import-checking: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Init python poetry action | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.8.3 | |
- name: Install dependencies | |
run: poetry install | |
- name: Check imports | |
run: | | |
poetry run isort . --check --diff | |
format-checking: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Init python poetry action | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.8.3 | |
- name: Install dependencies | |
run: poetry install | |
- name: Check imports | |
run: | | |
poetry run black --check . |