From e34f6e9eec25b802593dcc58ceb9b0e207c12efa Mon Sep 17 00:00:00 2001 From: Alexander Smolin <88573504+emptybutton@users.noreply.github.com> Date: Tue, 2 Jul 2024 23:08:30 +0700 Subject: [PATCH] chore(`telegrambot`): add github action for `mypy` --- .github/workflows/lint-telegram-bot-types.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint-telegram-bot-types.yml diff --git a/.github/workflows/lint-telegram-bot-types.yml b/.github/workflows/lint-telegram-bot-types.yml new file mode 100644 index 0000000..d557fef --- /dev/null +++ b/.github/workflows/lint-telegram-bot-types.yml @@ -0,0 +1,16 @@ +name: Lint telegram bot types + +on: [push, pull_request] + +jobs: + mypy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: install Python + uses: actions/setup-python@v4 + with: + python-version: 3.12 + + - name: mypy + run: docker compose run telegrambot mypy .