Skip to content

Commit

Permalink
ci: use llvm-tidy from LLVM 15
Browse files Browse the repository at this point in the history
  • Loading branch information
kyakdan committed Jan 13, 2023
1 parent cb3878a commit 0e568c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-all-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
linting:
name: lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -18,7 +18,13 @@ jobs:
- name: install dependencies
run: npm install
- name: install dependencies with apt
run: sudo apt-get install --yes clang-tidy
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get install software-properties-common
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main'
sudo apt-get install clang-tidy-15
sudo rm -f /usr/bin/clang-tidy
sudo ln -s /usr/bin/clang-tidy-15 /usr/bin/clang-tidy
- name: check formatting and linting
run: npm run check
unit_tests:
Expand Down

0 comments on commit 0e568c8

Please sign in to comment.