From cad034a9c249c780fa6693a4d4c8de31ce64d654 Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Wed, 8 Jul 2026 08:42:28 -0700 Subject: [PATCH 1/2] Bump GHA Ubuntu workflow runners to Ubuntu 26.04 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pre-commit.yml | 4 ++-- .../practice/complex-numbers/test/catch_amalgamated.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d124799..fbf69bf8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ on: jobs: linux-min: name: Linux Min Config - runs-on: ubuntu-22.04 + runs-on: ubuntu-26.04 strategy: matrix: - compiler: [clang++-15, g++-12] + compiler: [clang++-20, g++-15] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Install Dependencies @@ -32,7 +32,7 @@ jobs: linux-latest: name: Linux Latest Config needs: [linux-min] - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: compiler: [clang++, g++] diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9977425e..97909aa6 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ on: jobs: pre-commit: name: Pre-commit checks - runs-on: ubuntu-22.04 + runs-on: ubuntu-26.04 steps: - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd @@ -21,6 +21,6 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Run pre-commit checks on PR uses: pre-commit/action@v3.0.1 diff --git a/exercises/practice/complex-numbers/test/catch_amalgamated.cpp b/exercises/practice/complex-numbers/test/catch_amalgamated.cpp index eba3f00a..b48af905 100644 --- a/exercises/practice/complex-numbers/test/catch_amalgamated.cpp +++ b/exercises/practice/complex-numbers/test/catch_amalgamated.cpp @@ -468,10 +468,10 @@ namespace Catch { } namespace literals { - Approx operator "" _a(long double val) { + Approx operator ""_a(long double val) { return Approx(val); } - Approx operator "" _a(unsigned long long val) { + Approx operator ""_a(unsigned long long val) { return Approx(val); } } // end namespace literals From 1e1168c344def10b3bb58de35b5e8c3d190946fe Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Thu, 9 Jul 2026 16:27:57 -0700 Subject: [PATCH 2/2] Revert min config changes --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pre-commit.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbf69bf8..d8f032b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ on: jobs: linux-min: name: Linux Min Config - runs-on: ubuntu-26.04 + runs-on: ubuntu-22.04 strategy: matrix: - compiler: [clang++-20, g++-15] + compiler: [clang++-15, g++-12] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Install Dependencies diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 97909aa6..23073f5a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -20,7 +20,5 @@ jobs: repository: ${{github.event.pull_request.head.repo.full_name}} - name: Set up Python uses: actions/setup-python@v6 - with: - python-version: "3.14" - name: Run pre-commit checks on PR uses: pre-commit/action@v3.0.1