Skip to content

Commit

Permalink
satisfy nRF24/.github#9
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Feb 16, 2024
1 parent 638095e commit 7214569
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 deletions.
23 changes: 7 additions & 16 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ DeriveLineEnding: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineBeforeAccessModifier: Always
# ---
# only in v13+
# EmptyLineAfterAccessModifier: Leave
# ---
EmptyLineAfterAccessModifier: Leave
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
Expand All @@ -89,10 +86,7 @@ IncludeCategories:
CaseSensitive: false
IncludeIsMainRegex: "(Test)?$"
IncludeIsMainSourceRegex: ""
# ---
# only in v13+
# IndentAccessModifiers: false
# ---
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: false
Expand All @@ -117,15 +111,12 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
# ---
# only in v13+
# ReferenceAlignment: Right
# ---
ReferenceAlignment: Pointer
ReflowComments: true
# ---
# only in v13+
# ShortNamespaceLines: 0
# ---
SpacesInLineCommentPrefix:
Maximum: -1
Minimum: 0
ShortNamespaceLines: 0
# Sort**** is about sorting include/using statements alphabetically
SortIncludes: false
SortUsingDeclarations: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_arduino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: Arduino CLI build

on:
pull_request:
branches: [master]
types: [opened, reopened]
paths:
- ".github/workflows/build_arduino.yml"
- "examples/**"
- "!examples/old_backups/**"
- "RF24.*"
push:
branches: [master]
paths:
- ".github/workflows/build_arduino.yml"
- "examples/**"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Linux build

on:
pull_request_target:
branches: [master]
pull_request:
branches: [master]
types: [opened, reopened]
paths:
- "*.h"
Expand All @@ -25,6 +27,7 @@ on:
- "pyRF24/pyRF24.cpp"
- ".github/workflows/build_linux.yml"
push:
branches: [master]
paths:
- "*.h"
- "*.cpp"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_platformIO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: PlatformIO build

on:
pull_request:
branches: [master]
types: [opened, reopened]
paths:
- ".github/workflows/build_platformIO.yml"
Expand All @@ -10,6 +11,7 @@ on:
- "!examples/old_backups/**"
- "!examples/rf24_ATTiny/**"
push:
branches: [master]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_rp2xxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Pico SDK build

on:
pull_request_target:
branches: [master]
push:
branches: [master]
paths:
- ".github/workflows/build_rp2xxx.yml"
- "*.h"
Expand All @@ -13,6 +15,7 @@ on:
- "utility/rp2/*"
- "examples_pico/*"
pull_request:
branches: [master]
types: [opened, reopened]
paths:
- ".github/workflows/build_rp2xxx.yml"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: build Docs

on:
pull_request:
branches: [master]
types: [opened, reopened]
paths:
- "*.h"
Expand All @@ -17,6 +18,7 @@ on:
- "Doxyfile"
- "library.properties" # get lib version from here
push:
branches: [master]
paths:
- "*.h"
- "docs/**"
Expand All @@ -32,7 +34,6 @@ on:
- "library.properties" # get lib version from here
release:
types: [published, edited]
branches: [master]
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 7214569

Please sign in to comment.