Skip to content

Commit d8ded8b

Browse files
author
MacroFake
committed
ci: Use git2.34 for lint task
1 parent eeac05a commit d8ded8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/lint/04_install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ export LC_ALL=C
88

99
${CI_RETRY_EXE} apt-get update
1010
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
11+
(
12+
# Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
13+
# Can be removed once the underlying image is bumped to something that includes git2.34 or later
14+
sed -i -e 's/bionic/jammy/g' /etc/apt/sources.list
15+
${CI_RETRY_EXE} apt-get update
16+
${CI_RETRY_EXE} apt-get install -y --reinstall git
17+
)
1118
update-alternatives --install /usr/bin/clang-format clang-format "$(which clang-format-9 )" 100
1219
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff "$(which clang-format-diff-9)" 100
1320

0 commit comments

Comments
 (0)