Skip to content

Commit d25aa54

Browse files
authored
Update clang-format to v0.20. (#111)
1 parent 4f61927 commit d25aa54

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ concurrency:
1212

1313
jobs:
1414
Formatting:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: DoozyX/clang-format-lint-action@v0.18.2
18+
- uses: DoozyX/clang-format-lint-action@v0.20
1919
with:
2020
source: './app ./src'
2121
exclude: '.'
2222
extensions: 'H,h,cpp'
23-
clangFormatVersion: 18
23+
clangFormatVersion: 20
2424
CPU:
2525
needs: Formatting
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04
2727
container:
2828
image: ecpe4s/exawind-snapshot
2929
env:

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ To cite ExaWind or the usage of this driver and to learn more about the methodol
2222
year = {2024}
2323
}
2424
```
25+
26+
## Contributing
27+
28+
To pass the format check use this with a new version of `clang-format`:
29+
```
30+
find ./app ./src \( -name "*.cpp" -o -name "*.H" -o -name "*.h" -o -name "*.C" \) -exec clang-format -i {} +
31+
```

0 commit comments

Comments
 (0)