Skip to content

Commit

Permalink
ci: Use latest Python to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Oct 14, 2024
1 parent 056ce14 commit 4558206
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,21 @@ 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
run: |
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: |
Expand Down

0 comments on commit 4558206

Please sign in to comment.