mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-13 08:02:56 +00:00
clang-tidy.yml: Upgrade to clang-tidy 18
This commit is contained in:
parent
737e8ea183
commit
7acda8d16a
1 changed files with 4 additions and 4 deletions
8
.github/workflows/clang-tidy.yml
vendored
8
.github/workflows/clang-tidy.yml
vendored
|
@ -46,16 +46,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
||||
- name: Install clang-tidy 17
|
||||
- name: Install clang-tidy 18
|
||||
run: |-
|
||||
set -x
|
||||
source /etc/os-release
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-17 main"
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-18 main"
|
||||
sudo apt-get update # due to new repository
|
||||
sudo apt-get install --yes --no-install-recommends -V \
|
||||
clang-tidy-17
|
||||
echo /usr/lib/llvm-17/bin >>"${GITHUB_PATH}"
|
||||
clang-tidy-18
|
||||
echo /usr/lib/llvm-18/bin >>"${GITHUB_PATH}"
|
||||
|
||||
- name: Run clang-tidy
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue