Upgrade GitHub Actions to Node.js 24 versions Update all Node.js 20 GitHub Actions across .github/workflows/ to their current Node.js 24 major versions to eliminate runner deprecation warnings: - actions/checkout: v4 -> v7 - actions/cache: v4 -> v6 - actions/setup-python: v5 -> v7 - actions/upload-pages-artifact: v3 -> v5 - actions/deploy-pages: v4 -> v5 Change-Id: I8e607e6b801255893102c0e36554b1f2856d6b28
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index b5f96dc..c69a4dd 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml
@@ -40,7 +40,7 @@ git \ ninja-build - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive @@ -56,7 +56,7 @@ - name: Cache Eigen id: cache-eigen - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: eigen/ key: NDK-${{matrix.os}}-eigen-3.4.0 @@ -85,7 +85,7 @@ - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{env.CCACHE_DIR}} key: NDK-${{matrix.os}}-ccache-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}-${{github.run_id}}
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 17446bb..8c91a09 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml
@@ -11,10 +11,10 @@ shell: bash -e -o pipefail {0} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Cache Bazel - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: | ${{runner.temp}}/bazel-cache
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dc7f444..780e75c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml
@@ -19,12 +19,12 @@ run: shell: bash -e -o pipefail {0} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: '3.15' cache: 'pip' @@ -70,7 +70,7 @@ - name: Upload Pages artifact if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: _site @@ -88,4 +88,4 @@ steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 699a786..0446909 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml
@@ -52,7 +52,7 @@ ninja-build \ wget - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive @@ -92,7 +92,7 @@ - name: Cache cuDSS if: matrix.gpu == 'cuda' id: cache-cudss - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: libcudss-linux-x86_64-${{matrix.cudss}}-archive/ key: ${{matrix.os}}-cudss-${{matrix.cudss}} @@ -110,7 +110,7 @@ - name: Cache Mold id: cache-mold - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: mold-2.36.0-x86_64-linux/ key: mold-2.36.0 @@ -123,7 +123,7 @@ - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{env.CCACHE_DIR}} key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.gpu}}-${{github.run_id}}
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2bae26d..8d986d7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml
@@ -29,7 +29,7 @@ - ios steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive @@ -54,7 +54,7 @@ - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{env.CCACHE_DIR}} key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.target}}-${{github.run_id}}
diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 094826d..aa45850 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml
@@ -8,7 +8,7 @@ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Check licensing information uses: fsfe/reuse-action@v6
diff --git a/.github/workflows/sync-to-gerrit.yaml b/.github/workflows/sync-to-gerrit.yaml index 50cbdd2..654e16b 100644 --- a/.github/workflows/sync-to-gerrit.yaml +++ b/.github/workflows/sync-to-gerrit.yaml
@@ -16,7 +16,7 @@ contents: write steps: - name: Checkout GitHub Mirror - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }}
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 16e1004..66d3120 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml
@@ -22,7 +22,7 @@ env: ucrt-x86_64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive @@ -41,7 +41,7 @@ - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{env.CCACHE_DIR}} key: ${{runner.os}}-${{matrix.sys}}-${{matrix.env}}-${{matrix.build_type}}-${{matrix.lib}}-ccache-${{github.run_id}} @@ -105,14 +105,14 @@ generator: 'Visual Studio 18 2026' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Cache CUDA toolkit if: matrix.gpu == 'cuda' id: cache-cuda - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: | C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.5 @@ -137,7 +137,7 @@ - name: Cache cuDSS if: matrix.gpu == 'cuda' id: cache-cudss - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{github.workspace}}/libcudss-windows-x86_64-1.0.0.35_cuda13-archive key: ${{runner.os}}-${{matrix.msvc}}-cudss-1.0.0.35-cuda13-v1 @@ -159,7 +159,7 @@ - name: Cache OpenBLAS id: cache-openblas - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: openblas/ key: ${{runner.os}}-openblas-0.3.34-${{matrix.arch}} @@ -177,7 +177,7 @@ - name: Cache SuiteSparse id: cache-suitesparse - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: suitesparse/ key: ${{matrix.msvc}}-suitesparse-7.14.1-openblas-0.3.34-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}} @@ -216,7 +216,7 @@ - name: Cache Eigen id: cache-eigen - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: eigen/ key: ${{runner.os}}-eigen-3.4.0 @@ -254,7 +254,7 @@ - name: Cache ccache binary id: cache-ccache-bin - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ccache-4.10.2-windows-x86_64/ key: ${{runner.os}}-ccache-bin-4.10.2 @@ -269,7 +269,7 @@ - name: Cache Build id: cache-build - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{env.CCACHE_DIR}} key: ${{runner.os}}-${{matrix.msvc}}-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.gpu}}-ccache-${{github.run_id}}