Skip to content

Commit

Permalink
github: run clang-tidy on fedora 41
Browse files Browse the repository at this point in the history
since fedora 41 has received the llvm 41 packages. let's use
it.

Fixes scylladb#18617
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Oct 5, 2024
1 parent 882a3c6 commit 97d0c3e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,18 @@ concurrency:
cancel-in-progress: true

jobs:
read-toolchain:
if: github.event_name == 'pull_request' || (github.event.issue.pull_request && startsWith(github.event.comment.body, '/clang-tidy'))
uses: ./.github/workflows/read-toolchain.yaml
clang-tidy:
name: Run clang-tidy
needs:
- read-toolchain
runs-on: ubuntu-latest
container: ${{ needs.read-toolchain.outputs.image }}
container: fedora:41
steps:
- env:
IMAGE: ${{ needs.read-toolchain.image }}
run: |
echo ${{ needs.read-toolchain.image }}
- run: |
sudo dnf -y install git clang-tools-extra
- uses: actions/checkout@v4
with:
submodules: true
- run: |
sudo dnf -y install clang-tools-extra
sudo ./install-dependencies.sh
- name: Generate the building system
run: |
cmake \
Expand Down

0 comments on commit 97d0c3e

Please sign in to comment.