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 20, 2024
1 parent 90089b4 commit b035a76
Show file tree
Hide file tree
Showing 6 changed files with 17 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,12 +2,14 @@ name: Arduino CLI build

on:
pull_request:
branches: [master, 1.x]
types: [opened, reopened]
paths:
- ".github/workflows/build_arduino.yml"
- "examples/**"

push:
branches: [master, 1.x]
paths:
- ".github/workflows/build_arduino.yml"
- "examples/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Linux build

on:
pull_request:
branches: [master, 1.x]
types: [opened, reopened]
paths:
- "*.h"
Expand All @@ -15,6 +16,7 @@ on:
- "pyRF24Mesh/*"
- ".github/workflows/build_linux.yml"
push:
branches: [master, 1.x]
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, 1.x]
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, 1.x]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_rp2xxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Pico SDK build

on:
push:
branches: [master, 1.x]
paths:
- ".github/workflows/build_rp2xxx.yml"
- "*.h"
Expand All @@ -10,6 +11,7 @@ on:
- "cmake/"
- "examples_pico/*"
pull_request:
branches: [master, 1.x]
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, 1.x]
types: [opened, reopened]
paths:
- "*.h"
Expand All @@ -15,6 +16,7 @@ on:
- "Doxyfile"
- "library.properties" # get lib version from here
push:
branches: [master, 1.x]
paths:
- "*.h"
- "docs/**"
Expand All @@ -27,7 +29,6 @@ on:
- "Doxyfile"
- "library.properties" # get lib version from here
release:
branches: [master]
types: [published, edited]
workflow_dispatch:

Expand Down

0 comments on commit b035a76

Please sign in to comment.