Skip to content

Commit

Permalink
Merge pull request #717 from NatLibFi/fix-python-version-in-gh-actions
Browse files Browse the repository at this point in the history
Fix Python version in GH Actions CI/CD pipeline
  • Loading branch information
juhoinkinen authored Jun 30, 2023
2 parents 98603a9 + 1442f03 commit 320af2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ runs:
key: ignore-me
restore-keys: |
poetry-installation-and-cache-${{ inputs.python-version }}-${{ inputs.poetry-version }}-
- name: Install Poetry
shell: bash
run: |
pipx install poetry==${{ inputs.poetry-version }}
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 # v4.4.0
with:
python-version: ${{ inputs.python-version }}
- name: Install Poetry
shell: bash
run: |
pipx install poetry==${{ inputs.poetry-version }}
poetry env use ${{ inputs.python-version }}
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
PIPX_HOME: "/home/runner/.cache/pipx"
PIPX_BIN_DIR: "/home/runner/.local/bin"
POETRY_VERSION: "1.4.1"
POETRY_VERSION: "1.5.1"
jobs:

lint:
Expand Down

0 comments on commit 320af2b

Please sign in to comment.