Skip to content

Fix clang-format check on Ubuntu runners - #105

Merged
michalpelka merged 1 commit into
JanuszBedkowski:mainfrom
dlubom:codex/fix-clang-format-upstream
Dec 1, 2026
Merged

michalpelka merged 1 commit into
JanuszBedkowski:mainfrom
dlubom:codex/fix-clang-format-upstream

Conversation

@dlubom

@dlubom dlubom commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Install clang-format-18 explicitly and use that executable for both the version log and the existing C++ formatting check.

Evidence

  • On Ubuntu 26.04, apt install clang-format installs version 21. The workflow then exits with code 127 because clang-format-18 is missing. Upstream run
  • With the explicit package, the same check passed on Ubuntu 26.04 using clang-format 18.1.8. Both Sanity Build configurations also passed. Formatting run · Sanity Build

Merge risk

The change is limited to installing the formatter in CI and can be reverted independently.

@dlubom

dlubom commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@michalpelka @JanuszBedkowski

Let me know how you see this change.

@michalpelka

Copy link
Copy Markdown
Collaborator

Yes, I can see, thank for contributing!

@michalpelka
michalpelka merged commit 61b5de2 into JanuszBedkowski:main Dec 1, 2026
2 checks passed
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.

2 participants