From bee4635f1b8fb3ef38226c525bad5d69b1c25b58 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Devenyi" Date: Fri, 14 Aug 2026 23:02:25 -0400 Subject: [PATCH] COMP: Trigger the analysis workflow on the branch that exists The "Build and Test" workflow fires on branch `main`; this repository's default branch is `master`. Every job in it -- coverage, valgrind memcheck, clang scan-build, ASan+UBSan -- has therefore never executed once since the workflow was added. Also updates two things that would fail even with the trigger fixed: macos-11 has been retired by GitHub, and actions/checkout@v3 is deprecated. This alone is not enough to make the workflow pass; see the following commits. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01KSPnbwpDjVcAYqDdVqLkMU --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c82448d..48a013a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: Build and Test on: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] jobs: build: @@ -68,7 +68,7 @@ jobs: shell_tests: "ON" - name: rel-clang-macos - os: macos-11 + os: macos-14 compiler: clang scanbuild: "" cflags: "-O3 -Wall -Wextra -Wshadow -Wunused-variable -Wunused-parameter -Wunused-function -Wunused -Wno-system-headers -Wno-deprecated -Wwrite-strings" @@ -92,7 +92,7 @@ jobs: CTEST_SCRIPT_DIRECTORY: ${{ github.workspace }}/cmake steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies (Linux) if: runner.os == 'Linux'