Skip to content

Commit

Permalink
Merge pull request #18196 from WillemKauf/lint_cpp_manual_backport
Browse files Browse the repository at this point in the history
[v23.2.x] gh: fix lint-cpp for ubuntu noble (manual backport)
  • Loading branch information
rockwotj authored May 3, 2024
2 parents c7a6390 + aa7fcb9 commit 378f12e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,10 @@ jobs:
- name: Run clang-format
run: |
docker run \
-v $PWD:/redpanda ubuntu \
-v $PWD:/redpanda ubuntu:noble \
bash -c "cd /redpanda && \
apt update && \
apt install -y wget git lsb-release wget software-properties-common gnupg && \
wget https://apt.llvm.org/llvm.sh && \
chmod +x llvm.sh && \
./llvm.sh 16 && \
apt-get install -y clang-format-16 && \
apt install -y git clang-format-16 && \
find . -type f -regex '.*\.\(cpp\|h\|hpp\|cc\|proto\|java\)' | xargs -n1 clang-format-16 -i -style=file -fallback-style=none"
git diff --exit-code
Expand Down

0 comments on commit 378f12e

Please sign in to comment.