Adding an exit
parameter for WaiterMachine
to exit from current state
#34
Workflow file for this run
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 and test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up CPython 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
run: > | |
pip install pipx | |
pipx install poetry | |
- name: Poetry check structure | |
run: > | |
poetry check | |
- name: Install depends | |
run: > | |
poetry install | |
- name: Lint code with ruff | |
run: > | |
poetry run ruff check --fix | |
- name: Check types with basedpyright | |
run: > | |
poetry run basedpyright --level ERROR | |
# NOTE: add run tests |