From e7d4b2d4fb2907c1254ecd286c36ffba33b7e427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:34:11 -0600 Subject: [PATCH] ci: Use latest Python to lint (#339) --- .github/workflows/ci_workflow.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index f84b18a..b1caea1 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -33,11 +33,6 @@ jobs: runs-on: ubuntu-latest env: PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt - strategy: - matrix: - # Only lint using the primary version used for dev - python-version: [3.9] - steps: - uses: actions/checkout@v4 - name: Install Poetry @@ -45,12 +40,14 @@ jobs: pipx install poetry poetry --version - name: Set up Python ${{ matrix.python-version }} + id: setup-python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: 3.x cache: poetry - name: Install dependencies run: | + poetry env use ${{ steps.setup-python.outputs.python-path }} poetry install - name: Run lint command from tox.ini run: |