Skip to content

Commit 0e4d7e5

Browse files
Improve pip-tools installation in update CI
1 parent d143b7b commit 0e4d7e5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/update.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,19 @@ jobs:
5151
case ${ID,,} in
5252
ubuntu|debian)
5353
apt update
54-
INSTALLER_CMD="apt-get -y --no-install-recommends -q=3 install"
54+
INSTALLER_CMD="apt-get -y --no-install-recommends -q=3 install libc6-dev git"
5555
;;
5656
rhel|centos|fedora|rocky)
57-
INSTALLER_CMD="$(command -v dnf || command -v yum) -y --quiet --errorlevel=0 install"
57+
INSTALLER_CMD="$(command -v dnf || command -v yum) -y --quiet --errorlevel=0 install glibc-devel git"
5858
;;
5959
esac
60-
$INSTALLER_CMD python3-pip git
61-
pip3 install pip-tools
60+
$INSTALLER_CMD
61+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0
62+
with:
63+
python-version: "3.9.21" # NOTE: https://www.python.org/downloads/ https://docs.openstack.org/tempest/latest/supported_version.html#supported-python-versions
64+
- uses: insightsengineering/pip-action@9252b12ade07a9e628ab42b90565beaa56e8b85c # 2.0.1
65+
with:
66+
packages: pip-tools
6267
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # 2.1.4
6368
with:
6469
EXECUTE_COMMANDS: |

0 commit comments

Comments
 (0)