Skip to content

Commit 945b1b2

Browse files
Clang format cleanup (#3767)
* Add to git blame ignore list; consolodate ci check * Move clang-format check to linting * Switch to fork for better logging * adjust names to match others Co-authored-by: Harrison Kaiser <[email protected]>
1 parent 52661e9 commit 945b1b2

File tree

3 files changed

+37
-39
lines changed

3 files changed

+37
-39
lines changed

.git-blame-ignore-revs

+28
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,31 @@ ee3df080077242b6b765d02b21da59e4194ee485
1111
f47255051a6d440bd400ed35f3397085a049c000
1212
# clang-format `api/` and enforce in ci (PR #3637)
1313
15158a2c37aa04ce69c77fca67f8175ac0b3a799
14+
# Autopep8 updated CI and code (#3736)
15+
43d6f1bed249f77004d33c3b757fb9d8ab50fb5c
16+
# Clang-format `tests/unit/s2n_[l-r].*\.c` and enforce in CI (#3677)
17+
035ec1c6c8a80f2a88f8421da9862c3848fff12a
18+
# Clang-format `tests/unit/s2n_s.*\.c` and enforce in CI (#3678)
19+
6d8741cd0b6e3aa95c227d03633bdd04d44bbcc7
20+
# Clang format `tls/s2n_[a-h].*\.[ch]` and enforce in CI (#3681)
21+
f2faa0e25b1d68cd36173ae44df58be3218b6ca1
22+
# Clang-format `crypto/` and enforce in CI (#3680)
23+
f5351ef6629d1f6de144ab478bf4294ec277b321
24+
# Clang-format `tls/s2n_[s-z].*\.[ch]` and enforce in CI (#3683)
25+
0fe8ac5311c6a421c9e6257ae1cb5ac8cbc6845c
26+
# Clang-format `tests/unit/s2n_[t-z].*\.c` and enforce in CI (#3679)
27+
0bb61469995db593e735915d770dc32e8985404a
28+
# Clang format `tests/unit/s2n_[bc].*\.c` and enforce in CI (#3675)
29+
06e9e8c13d3c19a172b69eb57c278f68055ac8d4
30+
# Clang-format `tests/unit/s2n_[d-k].*\.c` and enforce in CI (#3676)
31+
2f9c7a48fd8faf44d5a6f375d6d3fbf9aada8e03
32+
# Clang-format `tls/s2n_[i-r].*\.[ch]` and enforce in CI (#3682)
33+
0e0d6079454361251e18d80af1af345881423b7a
34+
# Clang-format of `tests/unit/s2n_[3a].*\.c` + transision to exclude regex (#3664)
35+
4dd87578a946a081fcf21dbb5912cb506ae83460
36+
# Update to clang-format causes reformat of api folder (#3663)
37+
71e0343b6e082ebf47d8f8f272bee5486140b374
38+
# clang-format `tests/testslib` and add to ci (#3650)
39+
e8cdc1ae63ff1de6f14cf91e3c317fbf57c198ec
40+
# clang-format `utils/` and enforce in ci (#3651)
41+
be8ad6c027b50e9dc86d8f8eb729ce88f2d4206d

.github/workflows/ci_clang_format_check.yml

-37
This file was deleted.

.github/workflows/ci_linting.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,12 @@ jobs:
8181
with:
8282
dry: true
8383
checkpath: ./tests/integrationv2/*.py
84-
85-
84+
clang-format:
85+
runs-on: ubuntu-latest
86+
steps:
87+
- uses: actions/checkout@v3
88+
- name: clang-format check
89+
uses: harrisonkaiser/clang-format-action@verbose
90+
with:
91+
clang-format-version: '15'
92+
include-regex: '^(\.\/)?(api|bin|crypto|stuffer|error|tls|utils|tests\/unit|tests\/testlib).*\.(c|h)$'

0 commit comments

Comments
 (0)