Reusable GitHub Actions workflows and actions shared by CAVISE repositories.
Reusable workflows accept only predefined typed inputs. They must not accept shell scripts, arbitrary commands, arbitrary command-line arguments, or environment export blocks from consumer repositories.
.github/workflows/python-black.ymlrunsblack --check --diffwith a pinned Black version..github/workflows/python-pytest.ymlruns pytest, optional protobuf generation, optional JUnit upload..github/workflows/python-ruff.ymlrunsruff checkand/orruff format --check --diff..github/workflows/python-mypy.ymlinstalls mypy tooling, optionally generates protobuf modules, and runs mypy..github/workflows/python-cmake-cuda.ymlbuilds CMake CUDA extensions, validates the generated artifact manifest, and optionally imports installed Python modules..github/workflows/python-deadcode.ymlinstalls and runs deadcode..github/workflows/python-pre-commit.ymlruns pre-commit with a controlled--all-filesflag and optionalSKIPhook list.
.github/workflows/cpp-clang-format.ymlruns a Meson project'sclang-format-checktarget inside a caller-provided GHCR image..github/workflows/cpp-meson-clang-tidy.ymlbuilds a Meson project inside a caller-provided GHCR image, optionally prepares ns-3, and runs Meson'sclang-tidytarget.
The caller must grant packages: read to GITHUB_TOKEN. The container image must provide Bash, Git, a C++ compiler, Meson, Ninja, the requested Clang tool, and the project's build dependencies.
actions/setup-python-pipsets up Python, enables pip cache, upgrades pip, and optionally installs a requirements file.actions/generate-protobufsgenerates Python protobuf modules usingprotoc,grpc_tools.protoc, or named CMake presets.
Child repositories should keep their own trigger and composition files, then call these reusable workflows with jobs.<job_id>.uses.
Before publishing a stable release, internal action references in workflows should be pinned to the same release tag, for example @v1.