From 2f03424972978ee26da02c16476b6bc04c887f2f Mon Sep 17 00:00:00 2001 From: Jash Parekh Date: Sun, 5 Dec 2021 12:42:07 -0500 Subject: [PATCH] Migrate mypy lint to use Github Action (#57) --- .github/workflows/lint.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 292ddca..634a3b0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -96,14 +96,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2.4.0 - - uses: actions/setup-python@v2.3.1 - with: - python-version: ${{ env.PYTHON_VERSION }} - - name: Install dependencies - uses: ./.github/actions/install-dependencies - with: - requirements: "true" - test-requirements: "true" - - name: Run mypy - run: mypy plugin_scripts/deploy.py tests/test_deploy.py + uses: jashparekh/mypy-action@v2 + with: + path: "plugin_scripts/deploy.py tests/test_deploy.py" + requirement_files: "plugin_scripts/requirements.lock"