From b96be43be5311c9916a0271189800b3b4bbc6a94 Mon Sep 17 00:00:00 2001 From: iwatkot Date: Thu, 20 Jun 2024 02:08:11 +0200 Subject: [PATCH] Mypy action. --- .github/workflows/check_with_mypy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/check_with_mypy.yml diff --git a/.github/workflows/check_with_mypy.yml b/.github/workflows/check_with_mypy.yml new file mode 100644 index 0000000..ca2caca --- /dev/null +++ b/.github/workflows/check_with_mypy.yml @@ -0,0 +1,26 @@ +name: Check with mypy + +on: + push: + branches: + - main + +jobs: + type-check: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install mypy + + - name: Run mypy + run: mypy py3xui \ No newline at end of file