Skip to content

Commit

Permalink
Poke GitHub runners
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Feb 21, 2025
1 parent a163efe commit 5afa0ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/misc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,16 @@ jobs:
- uses: actions/checkout@v2
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y clang-format-17
sudo update-alternatives --display clang-format
# Register alternatives
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-17 100
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-18 50
# Set preferred version
sudo update-alternatives --set clang-format /usr/bin/clang-format-17
# Verify the version
clang-format --version
- name: Check formatting
run: |
clang-format --version
Expand Down

0 comments on commit 5afa0ae

Please sign in to comment.