Skip to content

Commit

Permalink
build(Poetry): install Poetry before setup Python
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Jan 4, 2025
1 parent 87ea82b commit 7f87b22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/actions/project-environment-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ description: Setup project environment
runs:
using: "composite"
steps:
- name: Install poetry
run: pipx install poetry==1.8.5
# The actions/cache step below uses this id to get the exact python version
- id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12.2"
architecture: x64
Expand All @@ -20,6 +22,4 @@ runs:
- name: Install Dependencies with Poetry
if: steps.cache-pipenv.outputs.cache-hit != 'true'
shell: bash
run: |
pipx install poetry==1.8.5
poetry install --with test
run: poetry install --with test
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish docker image

on:
push:
tags: "*"
tags: ["*"]

jobs:
docker:
Expand Down

0 comments on commit 7f87b22

Please sign in to comment.