Skip to content

ci: Modernize GitHub Actions workflows to use sparse matrices and updated tooling. - #268

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/1032656213
Dec 1, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
cl/1032656213

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

ci: Modernize GitHub Actions workflows to use sparse matrices and updated tooling.

  • Switch Linux, Windows, and macOS CI workflows from dense cross-product matrices to sparse matrices covering supported compilers, OS runner versions, compilation modes, C++ standards, and Python versions.
  • Upgrade GitHub Actions dependencies across all workflows (actions/checkout@v7, actions/setup-python@v7, actions/setup-java@v6, bazel-contrib/setup-bazel@0.19.1, and pre-commit/action@v3.0.1).
  • Configure per-configuration Bazel disk caches and restrict cache writes to the main branch to avoid filling repository cache storage on pull requests.
  • Add --config=ci and Python toolchain configuration flags to Bazel invocations.
  • Add a check in pre-commit.yml to detect and reject commits with internal or placeholder descriptions.

@copybara-service copybara-service Bot changed the title ci: Modernize pybind11_protobuf GitHub Actions workflows to a sparse CI matrix and add Dependabot. ci: Modernize GitHub Actions workflows to use sparse matrices and updated tooling. Nov 30, 2026
@copybara-service
copybara-service Bot force-pushed the cl/1032656213 branch 2 times, most recently from 2a29eab to 2cbcc8b Compare December 1, 2026 09:47
…ated tooling.

* Switch Linux, Windows, and macOS CI workflows from dense cross-product matrices to sparse matrices covering supported compilers, OS runner versions, compilation modes, C++ standards, and Python versions.
* Upgrade GitHub Actions dependencies across all workflows (`actions/checkout@v7`, `actions/setup-python@v7`, `actions/setup-java@v6`, `bazel-contrib/setup-bazel@0.19.1`, and `pre-commit/action@v3.0.1`).
* Configure per-configuration Bazel disk caches and restrict cache writes to the `main` branch to avoid filling repository cache storage on pull requests.
* Add `--config=ci` and Python toolchain configuration flags to Bazel invocations.
* Add a check in `pre-commit.yml` to detect and reject commits with internal or placeholder descriptions.

PiperOrigin-RevId: 1033348851
@copybara-service
copybara-service Bot merged commit 1950ae0 into main Dec 1, 2026
@copybara-service
copybara-service Bot deleted the cl/1032656213 branch December 1, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant