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