From 4336f9f3aeedd5462ee0008116b1a2a1e7d633ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 18:58:09 +0000 Subject: [PATCH] build(deps): bump the github-actions group with 2 updates Bumps the github-actions group with 2 updates: [actions/cache](https://github.com/actions/cache) and [bazel-contrib/setup-bazel](https://github.com/bazel-contrib/setup-bazel). Updates `actions/cache` from 4 to 5 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) Updates `bazel-contrib/setup-bazel` from 0.15.0 to 0.18.0 - [Release notes](https://github.com/bazel-contrib/setup-bazel/releases) - [Commits](https://github.com/bazel-contrib/setup-bazel/compare/0.15.0...0.18.0) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: bazel-contrib/setup-bazel dependency-version: 0.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/amd64_linux_bazel.yml | 4 ++-- .github/workflows/amd64_linux_cmake_coinor_off.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_cpp.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_dotnet.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_glpk_on.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_java.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_python.yml | 12 ++++++------ .github/workflows/amd64_linux_cmake_scip_off.yml | 12 ++++++------ .github/workflows/amd64_macos_bazel.yml | 4 ++-- .github/workflows/amd64_macos_cmake_cpp.yml | 12 ++++++------ .github/workflows/amd64_macos_cmake_dotnet.yml | 12 ++++++------ .github/workflows/amd64_macos_cmake_java.yml | 12 ++++++------ .github/workflows/amd64_macos_cmake_python.yml | 12 ++++++------ .github/workflows/amd64_windows_bazel.yml | 4 ++-- .github/workflows/amd64_windows_cmake_cpp.yml | 4 ++-- .github/workflows/amd64_windows_cmake_dotnet.yml | 4 ++-- .github/workflows/amd64_windows_cmake_java.yml | 4 ++-- .github/workflows/amd64_windows_cmake_python.yml | 4 ++-- .github/workflows/arm64_macos_bazel.yml | 4 ++-- .github/workflows/arm64_macos_cmake_cpp.yml | 12 ++++++------ .github/workflows/arm64_macos_cmake_dotnet.yml | 12 ++++++------ .github/workflows/arm64_macos_cmake_java.yml | 12 ++++++------ .github/workflows/arm64_macos_cmake_python.yml | 12 ++++++------ .github/workflows/presubmit.yml | 2 +- 24 files changed, 107 insertions(+), 107 deletions(-) diff --git a/.github/workflows/amd64_linux_bazel.yml b/.github/workflows/amd64_linux_bazel.yml index f53347522a..702e4fef85 100644 --- a/.github/workflows/amd64_linux_bazel.yml +++ b/.github/workflows/amd64_linux_bazel.yml @@ -63,7 +63,7 @@ jobs: sed -i -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{matrix.python.version}}"/g' MODULE.bazel cat MODULE.bazel - name: Restore bazel cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: bazel-cache-restore with: key: ${{env.cache-name}} @@ -73,7 +73,7 @@ jobs: - name: Test run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/... - name: Save Bazel cache for branch main even when Build and Test fail. - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache if: always() && github.ref == 'refs/heads/main' with: diff --git a/.github/workflows/amd64_linux_cmake_coinor_off.yml b/.github/workflows/amd64_linux_cmake_coinor_off.yml index c6812d5cc1..311a2cadc4 100644 --- a/.github/workflows/amd64_linux_cmake_coinor_off.yml +++ b/.github/workflows/amd64_linux_cmake_coinor_off.yml @@ -50,13 +50,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -64,7 +64,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -109,13 +109,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -123,7 +123,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_cpp.yml b/.github/workflows/amd64_linux_cmake_cpp.yml index 497f0887d3..3a2858e61a 100644 --- a/.github/workflows/amd64_linux_cmake_cpp.yml +++ b/.github/workflows/amd64_linux_cmake_cpp.yml @@ -42,13 +42,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -56,7 +56,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -99,13 +99,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -113,7 +113,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_dotnet.yml b/.github/workflows/amd64_linux_cmake_dotnet.yml index 354cd816f2..9ac0ee8d1c 100644 --- a/.github/workflows/amd64_linux_cmake_dotnet.yml +++ b/.github/workflows/amd64_linux_cmake_dotnet.yml @@ -48,13 +48,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -62,7 +62,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -107,13 +107,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -121,7 +121,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_glpk_on.yml b/.github/workflows/amd64_linux_cmake_glpk_on.yml index 1844adf6e1..641dcadef1 100644 --- a/.github/workflows/amd64_linux_cmake_glpk_on.yml +++ b/.github/workflows/amd64_linux_cmake_glpk_on.yml @@ -50,13 +50,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -64,7 +64,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -109,13 +109,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -123,7 +123,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_java.yml b/.github/workflows/amd64_linux_cmake_java.yml index 796c376715..82582a5ce2 100644 --- a/.github/workflows/amd64_linux_cmake_java.yml +++ b/.github/workflows/amd64_linux_cmake_java.yml @@ -37,13 +37,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -51,7 +51,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -95,13 +95,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -109,7 +109,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_python.yml b/.github/workflows/amd64_linux_cmake_python.yml index 9b0c082d18..92045b3720 100644 --- a/.github/workflows/amd64_linux_cmake_python.yml +++ b/.github/workflows/amd64_linux_cmake_python.yml @@ -52,13 +52,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -66,7 +66,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -110,13 +110,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -124,7 +124,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_linux_cmake_scip_off.yml b/.github/workflows/amd64_linux_cmake_scip_off.yml index 6689b1bd92..31fe0eecf6 100644 --- a/.github/workflows/amd64_linux_cmake_scip_off.yml +++ b/.github/workflows/amd64_linux_cmake_scip_off.yml @@ -50,13 +50,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -64,7 +64,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -109,13 +109,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -123,7 +123,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_macos_bazel.yml b/.github/workflows/amd64_macos_bazel.yml index 6a431f70cd..5d2cb0fd29 100644 --- a/.github/workflows/amd64_macos_bazel.yml +++ b/.github/workflows/amd64_macos_bazel.yml @@ -57,7 +57,7 @@ jobs: sed -i '' -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]*"/\1 "${{matrix.python.version}}"/g' MODULE.bazel cat MODULE.bazel - name: Restore bazel cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: bazel-cache-restore with: key: ${{env.cache-name}} @@ -67,7 +67,7 @@ jobs: - name: Test run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/... - name: Save Bazel cache for branch main even when Build and Test fail. - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache if: always() && github.ref == 'refs/heads/main' with: diff --git a/.github/workflows/amd64_macos_cmake_cpp.yml b/.github/workflows/amd64_macos_cmake_cpp.yml index 28964ae5a2..4743a068d8 100644 --- a/.github/workflows/amd64_macos_cmake_cpp.yml +++ b/.github/workflows/amd64_macos_cmake_cpp.yml @@ -39,13 +39,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -53,7 +53,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -96,13 +96,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -110,7 +110,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_macos_cmake_dotnet.yml b/.github/workflows/amd64_macos_cmake_dotnet.yml index 455fc76f82..09b20f6fe1 100644 --- a/.github/workflows/amd64_macos_cmake_dotnet.yml +++ b/.github/workflows/amd64_macos_cmake_dotnet.yml @@ -47,13 +47,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -61,7 +61,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -105,13 +105,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -119,7 +119,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_macos_cmake_java.yml b/.github/workflows/amd64_macos_cmake_java.yml index 80e680ecb7..fdcb3fe4a8 100644 --- a/.github/workflows/amd64_macos_cmake_java.yml +++ b/.github/workflows/amd64_macos_cmake_java.yml @@ -43,13 +43,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -57,7 +57,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -101,13 +101,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -115,7 +115,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_macos_cmake_python.yml b/.github/workflows/amd64_macos_cmake_python.yml index 72b961b480..6d138739a2 100644 --- a/.github/workflows/amd64_macos_cmake_python.yml +++ b/.github/workflows/amd64_macos_cmake_python.yml @@ -57,13 +57,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -71,7 +71,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -115,13 +115,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -129,7 +129,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/amd64_windows_bazel.yml b/.github/workflows/amd64_windows_bazel.yml index 1f06be3260..0988214d3f 100644 --- a/.github/workflows/amd64_windows_bazel.yml +++ b/.github/workflows/amd64_windows_bazel.yml @@ -52,7 +52,7 @@ jobs: - name: Check Bazel run: bazel version - name: Restore bazel cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: bazel-cache-restore with: key: ${{env.cache-name}} @@ -62,7 +62,7 @@ jobs: - name: Test run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/... - name: Save Bazel cache for branch main even when Build and Test fail. - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache if: always() && github.ref == 'refs/heads/main' with: diff --git a/.github/workflows/amd64_windows_cmake_cpp.yml b/.github/workflows/amd64_windows_cmake_cpp.yml index 20457d19a3..9c36a94d4d 100644 --- a/.github/workflows/amd64_windows_cmake_cpp.yml +++ b/.github/workflows/amd64_windows_cmake_cpp.yml @@ -33,12 +33,12 @@ jobs: # CONFIGURING CACHES - name: Cache CMake dependency source code - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Cache CMake dependency build - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: | diff --git a/.github/workflows/amd64_windows_cmake_dotnet.yml b/.github/workflows/amd64_windows_cmake_dotnet.yml index 47269dbc65..62f5202657 100644 --- a/.github/workflows/amd64_windows_cmake_dotnet.yml +++ b/.github/workflows/amd64_windows_cmake_dotnet.yml @@ -38,12 +38,12 @@ jobs: # CONFIGURING CACHES - name: Cache CMake dependency source code - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Cache CMake dependency build - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: | diff --git a/.github/workflows/amd64_windows_cmake_java.yml b/.github/workflows/amd64_windows_cmake_java.yml index c67b1a72e8..dae335fd89 100644 --- a/.github/workflows/amd64_windows_cmake_java.yml +++ b/.github/workflows/amd64_windows_cmake_java.yml @@ -57,12 +57,12 @@ jobs: # CONFIGURING CACHES - name: Cache CMake dependency source code - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Cache CMake dependency build - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: | diff --git a/.github/workflows/amd64_windows_cmake_python.yml b/.github/workflows/amd64_windows_cmake_python.yml index 7a1beb4c76..a82bfdf3f3 100644 --- a/.github/workflows/amd64_windows_cmake_python.yml +++ b/.github/workflows/amd64_windows_cmake_python.yml @@ -49,12 +49,12 @@ jobs: # CONFIGURING CACHES - name: Cache CMake dependency source code - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Cache CMake dependency build - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: | diff --git a/.github/workflows/arm64_macos_bazel.yml b/.github/workflows/arm64_macos_bazel.yml index 3a6ec458a8..96ebe7b571 100644 --- a/.github/workflows/arm64_macos_bazel.yml +++ b/.github/workflows/arm64_macos_bazel.yml @@ -57,7 +57,7 @@ jobs: sed -i '' -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]*"/\1 "${{matrix.python.version}}"/g' MODULE.bazel cat MODULE.bazel - name: Restore bazel cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: bazel-cache-restore with: key: ${{env.cache-name}} @@ -67,7 +67,7 @@ jobs: - name: Test run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/... - name: Save Bazel cache for branch main even when Build and Test fail. - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache if: always() && github.ref == 'refs/heads/main' with: diff --git a/.github/workflows/arm64_macos_cmake_cpp.yml b/.github/workflows/arm64_macos_cmake_cpp.yml index f9ee7eb27d..1faccd2966 100644 --- a/.github/workflows/arm64_macos_cmake_cpp.yml +++ b/.github/workflows/arm64_macos_cmake_cpp.yml @@ -39,13 +39,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -53,7 +53,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -96,13 +96,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -110,7 +110,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/arm64_macos_cmake_dotnet.yml b/.github/workflows/arm64_macos_cmake_dotnet.yml index 8b54e39e6c..458bd0fbfd 100644 --- a/.github/workflows/arm64_macos_cmake_dotnet.yml +++ b/.github/workflows/arm64_macos_cmake_dotnet.yml @@ -47,13 +47,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -61,7 +61,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -105,13 +105,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -119,7 +119,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/arm64_macos_cmake_java.yml b/.github/workflows/arm64_macos_cmake_java.yml index d859e8fa3f..4c9509bc38 100644 --- a/.github/workflows/arm64_macos_cmake_java.yml +++ b/.github/workflows/arm64_macos_cmake_java.yml @@ -43,13 +43,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -57,7 +57,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -101,13 +101,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -115,7 +115,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/arm64_macos_cmake_python.yml b/.github/workflows/arm64_macos_cmake_python.yml index 0fa219c609..d4e2b062c3 100644 --- a/.github/workflows/arm64_macos_cmake_python.yml +++ b/.github/workflows/arm64_macos_cmake_python.yml @@ -57,13 +57,13 @@ jobs: # RESTORING CACHES - name: Restore CMake dependency source code - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_src_restore with: key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} path: ${{github.workspace}}/build/_deps/*-src - name: Restore CMake dependency build - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: deps_build_restore with: key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}} @@ -71,7 +71,7 @@ jobs: ${{github.workspace}}/build/_deps/*-build ${{github.workspace}}/build/_deps/*-subbuild - name: Restore CCache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: ccache_restore with: key: ${{env.ccache_key}}-${{github.sha}} @@ -115,13 +115,13 @@ jobs: # SAVING CACHES - name: Save CCache if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.ccache_restore.outputs.cache-primary-key}} path: ${{env.CCACHE_DIR}} - name: Save CMake dependency build if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_build_restore.outputs.cache-primary-key}} path: | @@ -129,7 +129,7 @@ jobs: ${{github.workspace}}/build/_deps/*-subbuild - name: Save CMake dependency source code if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{steps.deps_src_restore.outputs.cache-primary-key}} path: ${{github.workspace}}/build/_deps/*-src diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 4fbd6cd770..7e89f3785c 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: ${{env.PYTHON_VERSION}} - - uses: bazel-contrib/setup-bazel@0.15.0 + - uses: bazel-contrib/setup-bazel@0.18.0 - name: Build run: bazel test --config=ci //ortools/... shell: bash