diff --git a/setup-pip-tools/action.yml b/setup-pip-tools/action.yml index ac2eb1d..57ee2b4 100644 --- a/setup-pip-tools/action.yml +++ b/setup-pip-tools/action.yml @@ -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: @@ -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