aboutsummaryrefslogtreecommitdiff
path: root/ci/lint/04_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/lint/04_install.sh')
-rwxr-xr-xci/lint/04_install.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh
index 8330df87eb..6f9a4709dd 100755
--- a/ci/lint/04_install.sh
+++ b/ci/lint/04_install.sh
@@ -7,11 +7,16 @@
export LC_ALL=C
${CI_RETRY_EXE} apt-get update
-${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
-update-alternatives --install /usr/bin/clang-format clang-format "$(which clang-format-9 )" 100
-update-alternatives --install /usr/bin/clang-format-diff clang-format-diff "$(which clang-format-diff-9)" 100
+${CI_RETRY_EXE} apt-get install -y python3-pip curl git gawk jq
+(
+ # Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
+ # Can be removed once the underlying image is bumped to something that includes git2.34 or later
+ sed -i -e 's/bionic/jammy/g' /etc/apt/sources.list
+ ${CI_RETRY_EXE} apt-get update
+ ${CI_RETRY_EXE} apt-get install -y --reinstall git
+)
-${CI_RETRY_EXE} pip3 install codespell==2.1.0
+${CI_RETRY_EXE} pip3 install codespell==2.2.1
${CI_RETRY_EXE} pip3 install flake8==4.0.1
${CI_RETRY_EXE} pip3 install mypy==0.942
${CI_RETRY_EXE} pip3 install pyzmq==22.3.0