Skip to content

Commit

Permalink
Merge pull request #5 from UW-GAC/feature/remove-pip-upgrade
Browse files Browse the repository at this point in the history
Pin pip to a specific version
  • Loading branch information
amstilp authored Nov 7, 2024
2 parents a4dd616 + c07f7c5 commit 028c64e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup-pip-tools/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Run pip-compile"
name: "Set up pip-tools"
description: "Install pip-tools and run pip-compile on a set of requirements files."
inputs:
pip-tools-version:
Expand All @@ -24,7 +24,9 @@ runs:
shell: bash

- name: Install pip-tools
# The latest version of pip and pip-tools creates absolute paths instead of relative paths
# when compiling requirements files.
run: |
python -m pip install --upgrade pip
pip install --upgrade pip==24.2
pip install ${{ steps.get-pip-tools-version-suffix.outputs.PIP_TOOLS_VERSION }}
shell: bash

0 comments on commit 028c64e

Please sign in to comment.