Skip to content

Commit b211e1e

Browse files
committed
Update build.yml
1 parent 0c245b7 commit b211e1e

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/build.yml

+1-26
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PlatformIO Build, Lint, and Style Checks for M5Stick-C
1+
name: Build, Lint
22

33
on:
44
push:
@@ -35,12 +35,6 @@ jobs:
3535
- name: Generate Compilation Database
3636
run: platformio run -e m5stick-c -t compiledb
3737

38-
- name: Upload Compilation Database
39-
uses: actions/upload-artifact@v3
40-
with:
41-
name: compile-commands
42-
path: compile_commands.json
43-
4438
lint:
4539
runs-on: ubuntu-latest
4640

@@ -53,22 +47,3 @@ jobs:
5347

5448
- name: Run cppcheck
5549
run: cppcheck --enable=all --inconclusive --std=c++17 --suppress=missingIncludeSystem src include
56-
57-
style:
58-
runs-on: ubuntu-latest
59-
needs: build # Ensure this job waits for 'build' to complete
60-
61-
steps:
62-
- name: Checkout repository
63-
uses: actions/checkout@v3
64-
65-
- name: Download Compilation Database
66-
uses: actions/download-artifact@v3
67-
with:
68-
name: compile-commands
69-
70-
- name: Install clang-tidy
71-
run: sudo apt-get update && sudo apt-get install -y clang-tidy
72-
73-
- name: Run clang-tidy
74-
run: clang-tidy -p compile_commands.json src/**/*.cpp

0 commit comments

Comments
 (0)