From 53bb1b086d764dde5df194879a10c5bc27b531eb Mon Sep 17 00:00:00 2001 From: Zachary Ferguson Date: Sat, 14 Mar 2026 15:31:20 -0400 Subject: [PATCH 1/2] Update GitHub Actions to latest major versions --- .github/workflows/clang-format-check.yml | 4 ++-- .github/workflows/clang-tidy-check.yml | 4 ++-- .github/workflows/continuous.yml | 6 +++--- .github/workflows/coverage.yml | 8 ++++---- .github/workflows/cuda.yml | 8 ++++---- .github/workflows/docs.yml | 8 ++++---- .github/workflows/pypi.yml | 6 +++--- .github/workflows/python.yml | 6 +++--- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 171b65b37..7f774c74f 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -25,9 +25,9 @@ jobs: - 'tests/src' - 'python/src' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: clang-format style check - uses: jidicula/clang-format-action@v4.15.0 + uses: jidicula/clang-format-action@v4 with: clang-format-version: '20' check-path: ${{ matrix.path }} \ No newline at end of file diff --git a/.github/workflows/clang-tidy-check.yml b/.github/workflows/clang-tidy-check.yml index 245d6641a..97565cfaa 100644 --- a/.github/workflows/clang-tidy-check.yml +++ b/.github/workflows/clang-tidy-check.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install dependencies run: | @@ -28,7 +28,7 @@ jobs: sudo apt-get install -y clang-tidy cmake build-essential - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2.0.0 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: Configure CMake diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index ce1afe6b0..d27056694 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -37,7 +37,7 @@ jobs: name: Windows steps: - name: Checkout repository - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v6 with: fetch-depth: 10 @@ -65,12 +65,12 @@ jobs: uses: seanmiddleditch/gha-setup-ninja@master - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2.0.0 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CACHE_PATH }} key: ${{ runner.os }}-${{ matrix.config }}-cache diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 71281ccd7..a1dc88b89 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false steps: - name: Checkout Repository - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v6 with: fetch-depth: 10 @@ -34,12 +34,12 @@ jobs: echo 'CACHE_PATH=~/.cache/ccache' >> "$GITHUB_ENV" - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2.0.0 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CACHE_PATH }} key: coverage-cache @@ -72,7 +72,7 @@ jobs: lcov --remove coverage.info --ignore-errors unused '/usr/*' "$HOME/.cache/*" "*tests/*" --output-file coverage.info - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5.5.1 + uses: codecov/codecov-action@v5 with: fail_ci_if_error: true files: build/coverage.info diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index a02ee16aa..a777807b0 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -32,7 +32,7 @@ jobs: - Release steps: - name: Checkout repository - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v6 with: fetch-depth: 10 @@ -42,18 +42,18 @@ jobs: echo 'CACHE_PATH=~/.cache/ccache' >> "$GITHUB_ENV" - name: cuda-toolkit - uses: Jimver/cuda-toolkit@v0.2.21 + uses: Jimver/cuda-toolkit@v0.2.30 with: sub-packages: '["nvcc"]' method: 'network' - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2.0.0 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CACHE_PATH }} key: ${{ runner.os }}-${{ matrix.config }}-cache diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5f1be115c..eb8667305 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v6 with: fetch-depth: 10 - name: Set up Python - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6 with: python-version: "3.13" @@ -31,7 +31,7 @@ jobs: - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CACHE_PATH }} key: docs-cache @@ -113,7 +113,7 @@ jobs: touch .nojekyll - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: docs/build/html # The folder the action should deploy. diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b9278efab..6a90c396a 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -39,10 +39,10 @@ jobs: name: macOS steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build wheels - uses: pypa/cibuildwheel@v3.3.1 + uses: pypa/cibuildwheel@v3 # to supply options, put them in 'env', like: env: MACOSX_DEPLOYMENT_TARGET: "11.0" @@ -60,7 +60,7 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build sdist run: pipx run build --sdist diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 94fe9871e..2bbdd9551 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -37,12 +37,12 @@ jobs: name: macOS steps: - name: Checkout Repository - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v6 with: fetch-depth: 10 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5.1.1 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -66,7 +66,7 @@ jobs: - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.CACHE_PATH }} key: ${{ runner.os }}-Python${{ matrix.python-version }}-cache From 74c4dc4266e5bcf8aa57e5bad5335e84a0635f91 Mon Sep 17 00:00:00 2001 From: Zachary Ferguson Date: Sat, 14 Mar 2026 15:32:02 -0400 Subject: [PATCH 2/2] Update clang-format-action to v4.17.0 in workflow --- .github/workflows/clang-format-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 7f774c74f..fb8995342 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: clang-format style check - uses: jidicula/clang-format-action@v4 + uses: jidicula/clang-format-action@v4.17.0 with: clang-format-version: '20' check-path: ${{ matrix.path }} \ No newline at end of file