Skip to content

Commit

Permalink
Update c++-code-formatting.yml to clang-format-18
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored Aug 26, 2024
1 parent f7c9c2b commit 8cbf919
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/c++-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: clang-format
# Keep the clang-format version synced with the one installed by aliBuild,
# (see https://github.com/alisw/alidist/blob/master/clang.sh).
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

Check failure on line 31 in .github/workflows/c++-code-formatting.yml

View workflow job for this annotation

GitHub Actions / actionlint

label "ubuntu-24.04" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-13-xl", "macos-13", "macos-13.0", "macos-12-xl", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file ``` runs-on: ubuntu-24.04 ^~~~~~~~~~~~ ```

Check failure on line 31 in .github/workflows/c++-code-formatting.yml

View workflow job for this annotation

GitHub Actions / actionlint

label "ubuntu-24.04" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-latest-xl", "macos-13-xl", "macos-13", "macos-13.0", "macos-12-xl", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file ``` runs-on: ubuntu-24.04 ^~~~~~~~~~~~ ```

steps:
- name: Checkout code
Expand All @@ -46,11 +46,11 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt update
sudo apt install -y clang-format-15
sudo apt install -y clang-format-18
sudo update-alternatives --install /usr/bin/clang-format \
clang-format /usr/bin/clang-format-15 100
clang-format /usr/bin/clang-format-18 100
sudo update-alternatives --install /usr/bin/git-clang-format \
git-clang-format /usr/bin/git-clang-format-15 100
git-clang-format /usr/bin/git-clang-format-18 100
# We need to fetch the PR's head commit to base our cleanup commit on.
- name: Fetch PR branch
Expand Down

0 comments on commit 8cbf919

Please sign in to comment.