From 7a4995d9dc6dcd778e05bb6bf6391632e746675c Mon Sep 17 00:00:00 2001 From: dilyabareeva Date: Fri, 2 Aug 2024 16:26:44 +0200 Subject: [PATCH] break up actions jobs --- .github/workflows/{type-lint.yml => lint.yml} | 3 --- .github/workflows/mypy.yml | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) rename .github/workflows/{type-lint.yml => lint.yml} (88%) create mode 100644 .github/workflows/mypy.yml diff --git a/.github/workflows/type-lint.yml b/.github/workflows/lint.yml similarity index 88% rename from .github/workflows/type-lint.yml rename to .github/workflows/lint.yml index 52160d48..3691cdd4 100644 --- a/.github/workflows/type-lint.yml +++ b/.github/workflows/lint.yml @@ -18,6 +18,3 @@ jobs: - name: Run flake8 run: tox run -e lint - - - name: Run mypy - run: tox run -e type diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 00000000..32a88567 --- /dev/null +++ b/.github/workflows/mypy.yml @@ -0,0 +1,20 @@ +# .github/workflows/type-lint.yml +name: Type-lint +on: push +jobs: + type-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup python 3.11 + uses: actions/setup-python@v4 + with: + cache: 'pip' + python-version: "3.11" + + - name: Install tox-gh + run: pip install tox-gh + + - name: Run mypy + run: tox run -e type