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 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: |