Skip to content

Commit 2310ad9

Browse files
committed
ci: deploy astyle
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 2d34d9d commit 2310ad9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/astyle.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: astyle
2+
on: [push, pull_request]
3+
jobs:
4+
astyle:
5+
name: Check code formatting
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@main
9+
- uses: stm32duino/actions/astyle-check@main
10+
# Use the output from the `Astyle` step
11+
- name: Astyle Errors
12+
if: failure()
13+
run: |
14+
cat ${{ steps.Astyle.outputs.astyle-result }}
15+
exit 1

0 commit comments

Comments
 (0)