Skip to content

Commit

Permalink
Small ci conf update (#164)
Browse files Browse the repository at this point in the history
* Update `clang-format` conf

* Update `yamllint`

* Fix clang-16

* Oopsie

* More oopsie
  • Loading branch information
dmohns authored Feb 26, 2024
1 parent 559a9ff commit 187a67e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ rules:
quote-type: double
required: only-when-needed
allow-quoted-quotes: true
check-keys: true
truthy:
check-keys: false
5 changes: 5 additions & 0 deletions firmware/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ AllowShortFunctionsOnASingleLine: Empty
IncludeBlocks: Preserve
IndentPPDirectives: AfterHash
DerivePointerAlignment: false
# This is only available in Clang-16, see
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#insertnewlineateof
# However, Github runners currently only ship with Clang-15, see
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
# InsertNewlineAtEOF: true

# Always break after if to get accurate coverage
AllowShortIfStatementsOnASingleLine: false
Expand Down
5 changes: 5 additions & 0 deletions firmware_selftest/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ AllowShortFunctionsOnASingleLine: Empty
IncludeBlocks: Preserve
IndentPPDirectives: AfterHash
DerivePointerAlignment: false
# This is only available in Clang-16, see
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#insertnewlineateof
# However, Github runners currently only ship with Clang-15, see
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
# InsertNewlineAtEOF: true

# Always break after if to get accurate coverage
AllowShortIfStatementsOnASingleLine: false
Expand Down

0 comments on commit 187a67e

Please sign in to comment.