From cbac18ea2f92891fe7d302bfb3c92977bfb90411 Mon Sep 17 00:00:00 2001 From: Michael Jabbour <117195239+michael-jabbour-sonarsource@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:18:05 +0100 Subject: [PATCH 1/3] Fix workflow on Ubuntu 24 The GitHub runner image already includes Ninja now; We don't need to install it on our side. See actions/runner-images#11761. --- .github/workflows/build.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df7207e..ee7c492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Install Ninja - run: | - wget https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip - sudo unzip ninja-linux.zip -d /usr/local/bin - name: Install clang run: | sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ${{env.CLANG_VERSION}} From 6579d42997602971a2b24c75b469842732a247ac Mon Sep 17 00:00:00 2001 From: Michael Jabbour <117195239+michael-jabbour-sonarsource@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:19:17 +0100 Subject: [PATCH 2/3] Temporary change to test workflow --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee7c492..1a9532d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,8 @@ name: Build on: push: - branches: - - main + # branches: + # - main pull_request: types: [opened, synchronize, reopened] env: From 5c6d367e5677e686a896235b617d505f5e4cccda Mon Sep 17 00:00:00 2001 From: Michael Jabbour <117195239+michael-jabbour-sonarsource@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:20:59 +0100 Subject: [PATCH 3/3] Revert testing change --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a9532d..ee7c492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,8 @@ name: Build on: push: - # branches: - # - main + branches: + - main pull_request: types: [opened, synchronize, reopened] env: