From ec3d837aabb3fd51a04de8dae3f3648d7069fee4 Mon Sep 17 00:00:00 2001 From: keenborder786 <21110290@lums.edu.pk> Date: Wed, 5 Jun 2024 23:05:39 +0500 Subject: [PATCH] [ci] --- .github/workflows/makefile.yml | 13 ++++++++++++- makefile | 3 +-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index b07d4ea..915c368 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -13,6 +13,17 @@ jobs: steps: - uses: actions/checkout@v4 - + + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + + - name: Install Poetry + uses: Gr1N/setup-poetry@v8 + + - name: Install Packages + uses: poetry install --with dev + - name: Running Linter run: make lint diff --git a/makefile b/makefile index a3901a0..0112790 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,5 @@ -PYTHON_FILES=src +PYTHON_FILES=./src lint: - ls poetry run ruff $(PYTHON_FILES) poetry run mypy $(PYTHON_FILES)