Skip to content

Commit

Permalink
SQ: Install poetry before setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Apr 5, 2024
1 parent e43bfab commit f44e0a6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/push-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Poetry
run: pipx install "poetry>=1.4.0,<1.5.0"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry

- name: Display Python version
run: python -c "import sys; print(sys.version)"
run: poetry run python -c "import sys; print(sys.version)"

- name: Display pip version
run: python -m pip --version

- name: Install pipx
run: python -m pip install pipx

- name: Install Poetry
run: python -m pipx install "poetry>=1.4.0,<1.5.0"
run: poetry run python -m pip --version

- name: Display Poetry version
run: poetry --version
Expand Down

0 comments on commit f44e0a6

Please sign in to comment.