From 8cbf919a8bb0d24aa783ceaf155980ba253fea85 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:04:06 +0200 Subject: [PATCH 1/2] Update c++-code-formatting.yml to clang-format-18 --- .github/workflows/c++-code-formatting.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c++-code-formatting.yml b/.github/workflows/c++-code-formatting.yml index d1541103..2ac670da 100644 --- a/.github/workflows/c++-code-formatting.yml +++ b/.github/workflows/c++-code-formatting.yml @@ -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 steps: - name: Checkout code @@ -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 From d77a3a15787795a6bce1fddc95599bacaf335466 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:27:40 +0200 Subject: [PATCH 2/2] Update check-workflows.yml --- .github/workflows/check-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-workflows.yml b/.github/workflows/check-workflows.yml index 23f786e1..91af27aa 100644 --- a/.github/workflows/check-workflows.yml +++ b/.github/workflows/check-workflows.yml @@ -35,7 +35,7 @@ jobs: echo ~/bin >> "$GITHUB_PATH" env: ACTIONLINT_URL: |- - https://github.com/rhysd/actionlint/releases/download/v1.6.26/actionlint_1.6.26_linux_amd64.tar.gz + https://github.com/rhysd/actionlint/releases/download/v1.7.1/actionlint_1.7.1_linux_amd64.tar.gz - name: Check GitHub workflows run: |