We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc39046 commit cd596f3Copy full SHA for cd596f3
.github/workflows/astyle.yml
@@ -0,0 +1,30 @@
1
+name: astyle
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ paths-ignore:
7
+ - '*.json'
8
+ - '**.md'
9
+ - keywords.txt
10
+ - library.properties
11
+ pull_request:
12
13
14
15
16
17
+ workflow_dispatch:
18
+jobs:
19
+ astyle:
20
+ name: Check code formatting
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@main
24
+ - uses: stm32duino/actions/astyle-check@main
25
+ # Use the output from the `Astyle` step
26
+ - name: Astyle Errors
27
+ if: failure()
28
+ run: |
29
+ cat ${{ steps.Astyle.outputs.astyle-result }}
30
+ exit 1
0 commit comments