From 5d6bba9e65e8c8eaad7982f853f219567a290cd6 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 7 Jan 2025 12:42:20 +0000 Subject: [PATCH] Increase CPU core count for SonarCloud analysis workflow and run on PRs --- .github/workflows/sonarcloud-analysis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml index 1825e3c2a4c..0f179c9a04e 100644 --- a/.github/workflows/sonarcloud-analysis.yml +++ b/.github/workflows/sonarcloud-analysis.yml @@ -2,18 +2,19 @@ name: "SonarCloud Analysis" on: workflow_dispatch: + pull_request: push: branches: - master* jobs: sonarcloud-analysis: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04-16-core-x64 container: debian:trixie-slim timeout-minutes: 20 env: - CPU_CORE_COUNT: 8 + CPU_CORE_COUNT: 16 steps: - name: Install container dependencies