From 323ed3278a17b42a31ee8df97242727dafb11b68 Mon Sep 17 00:00:00 2001 From: Oscar Butler-Aldridge Date: Wed, 2 Sep 2020 08:39:18 +0200 Subject: [PATCH 1/3] Create python-lint.yml --- .github/workflows/python-lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/python-lint.yml diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml new file mode 100644 index 0000000..2947c9d --- /dev/null +++ b/.github/workflows/python-lint.yml @@ -0,0 +1,22 @@ +name: Linters + +on: [push] + +jobs: + lint: + + runs-on: ubuntu-latest + + steps: + - 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 poetry + - name: Static type checker + run: | + poetry run mypy tail-recursive From 305043c79ad57f9b4b41447424e075dce4f65885 Mon Sep 17 00:00:00 2001 From: Oscar Butler-Aldridge Date: Wed, 2 Sep 2020 08:41:31 +0200 Subject: [PATCH 2/3] Update python-lint.yml --- .github/workflows/python-lint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index 2947c9d..74e96a0 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -17,6 +17,7 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry + poetry install - name: Static type checker run: | poetry run mypy tail-recursive From 4ba4adb9dca7eea0280362da24ad54bcbad0e41a Mon Sep 17 00:00:00 2001 From: Oscar Butler-Aldridge Date: Wed, 2 Sep 2020 08:50:01 +0200 Subject: [PATCH 3/3] Update python-lint.yml --- .github/workflows/python-lint.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index 74e96a0..4853e90 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -18,6 +18,5 @@ jobs: python -m pip install --upgrade pip pip install poetry poetry install - - name: Static type checker - run: | - poetry run mypy tail-recursive + - name: Test + run: poetry run mypy tail_recursive