From 8fb31f86ba089542fc8e3462738796523420e80c Mon Sep 17 00:00:00 2001 From: Florian Kaiser <37000563+flok@users.noreply.github.com> Date: Thu, 31 Dec 2020 23:09:03 +0100 Subject: [PATCH] added mypy static analyzer action on push --- .github/workflows/python-mypy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/python-mypy.yml diff --git a/.github/workflows/python-mypy.yml b/.github/workflows/python-mypy.yml new file mode 100644 index 0000000..c5f0f7f --- /dev/null +++ b/.github/workflows/python-mypy.yml @@ -0,0 +1,21 @@ +name: Mypy + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + name: Mypy + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install mypy + - name: mypy + run: | + mypy pydualsense/ \ No newline at end of file