aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yaml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2023-05-13 11:54:33 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2023-05-13 11:54:33 -0400
commit327a7381efcc23888821778562a3a9074af50c60 (patch)
treecacd100cacc6acce26a3bacedd3e4fe3493e5d30 /.github/workflows/lint.yaml
parentUpdate taskipy dep to point to master branch (diff)
downloadpoetry-plugin-taskipy2-327a7381efcc23888821778562a3a9074af50c60.zip
Run test CI job on all supported python versions
Diffstat (limited to '.github/workflows/lint.yaml')
-rw-r--r--.github/workflows/lint.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
new file mode 100644
index 0000000..b19ca40
--- /dev/null
+++ b/.github/workflows/lint.yaml
@@ -0,0 +1,26 @@
+name: Lint
+
+on: [push, pull_request]
+
+jobs:
+ lint:
+ name: Run linters
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out the repo
+ uses: actions/checkout@v3
+
+ - name: Install poetry
+ run: pipx install poetry
+
+ - name: Setup Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.11'
+ cache: 'poetry'
+
+ - name: Install dependencies
+ run: poetry install --without test
+
+ - name: Run linters
+ run: poetry run task lint