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