summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNick <nick.win999@gmail.com>2020-09-19 19:15:05 -0500
committerNick <nick.win999@gmail.com>2020-09-19 19:15:05 -0500
commitda0fb965f6b6a67154e20a3fddda48f5bc392d77 (patch)
treef7f9aa9a45b39bb4d943eb7d2ba6e71d516ab40c /.github
parent844f2c76749cbc5ff611d8e69819af82b698089a (diff)
parentc0806d27f1d048db335ecc854eab61b59e23ea7a (diff)
Merge remote-tracking branch 'upstream/main' into bluetooth/battery-reporting
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml1
-rw-r--r--.github/workflows/clang-format-lint.yml25
2 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c8a711c..02657c0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,6 +17,7 @@ jobs:
- lily58_left
- lily58_right
- romac
+ - settings_reset
include:
- board: proton_c
shield: clueboard_california
diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml
new file mode 100644
index 0000000..061bc3d
--- /dev/null
+++ b/.github/workflows/clang-format-lint.yml
@@ -0,0 +1,25 @@
+name: clang-format-lint
+
+on:
+ push:
+ paths:
+ - "app/boards/**/*.c"
+ - "app/include/**/*.h"
+ - "app/src/**"
+ pull_request:
+ paths:
+ - "app/boards/**/*.c"
+ - "app/include/**/*.h"
+ - "app/src/**"
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ name: clang-format lint
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: DoozyX/clang-format-lint-action@v0.9
+ with:
+ source: "./app"
+ extensions: "h,c"