Clang-format Multi-version
Version updated for https://github.com/pachadotdev/clang-format to version v1.1.0.
- This action is used across all versions by 1 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action provides a fast and lightweight solution for automatically formatting C++ code using multiple versions of clang-format (11 to 21) in CI/CD pipelines. It simplifies code formatting across various Linux distributions, automates dependency management, and integrates seamlessly with GitHub Actions workflows, offering features like file exclusion by regex and optional auto-commit functionality. Compared to Docker-based approaches, it is significantly faster and less resource-intensive, making it an efficient choice for maintaining consistent code style.
Release notes
adds clang-format-21