Skip to content

Commit 914e674

Browse files
authored
feat: Add clang-format-18 support (#183)
1 parent 38748e8 commit 914e674

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- 15
3838
- 16
3939
- 17
40+
- 18
4041
steps:
4142
- uses: actions/checkout@v4
4243
- name: Build and test the Docker image
@@ -63,6 +64,7 @@ jobs:
6364
- 15
6465
- 16
6566
- 17
67+
- 18
6668
path:
6769
- check: 'test/known_fail'
6870
exclude: 'capi'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ You can define your own formatting rules in a `.clang-format` file at your repos
2424
* 15: `clang-format-15`
2525
* 16: `clang-format-16`
2626
* 17: `clang-format-17`
27+
* 18: `clang-format-18`
2728

2829
## Do you find this useful?
2930

@@ -32,7 +33,7 @@ You can sponsor me [here](https://github.com/sponsors/jidicula)!
3233
## Inputs
3334
* `clang-format-version` [optional]: The major version of `clang-format` that you want to run on your codebase.
3435
* Default: `13`
35-
* Available versions: see [Versions supported](#versions-supported)
36+
* Available versions: see [Versions supported](#major-versions-supported)
3637
* `check-path` [optional]: The path to the directory in the repo that should be checked for C/C++/Protobuf formatting.
3738
* Default: `.`
3839
* For cleaner output (i.e. with no double-slashed paths), the final directory in this path should have no trailing slash, e.g. `src` and not `src/`.

0 commit comments

Comments
 (0)