Skip to content

Commit 657464f

Browse files
Display offending lines in Style CI failure (#174)
1 parent 799e3a0 commit 657464f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,19 @@ jobs:
3131
- uses: actions/checkout@v2
3232
with:
3333
submodules: false
34-
- run: |
34+
- name: Check package references
35+
run: |
3536
./tests/ci/pkgrefs_test.sh
37+
- name: Check boards.txt was not edited after makeboards.py
38+
run: |
3639
./tools/makeboards.py > boards.txt
40+
- name: Run astyle on all code/examples
41+
run: |
3742
sudo apt update
3843
sudo apt install astyle
3944
./tests/restyle.sh
4045
# If anything changed, GIT should return an error and fail the test
41-
git diff --quiet --exit-code
46+
git diff --exit-code
4247
4348
# Build all examples on linux (core and Arduino IDE)
4449
build-linux:

0 commit comments

Comments
 (0)