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.
2 parents 7af224e + 20f0a1d commit 61dcf44Copy full SHA for 61dcf44
.github/workflows/check_style.yml
@@ -0,0 +1,27 @@
1
+name: Verify code formatting
2
+on:
3
+ push:
4
+ pull_request:
5
+
6
+jobs:
7
+ verify-formatting:
8
+ if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
9
+ runs-on: ubuntu-22.04
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ with:
14
+ persist-credentials: false
15
+ fetch-depth: 0
16
+ - name: Checkout astyle
17
18
19
+ repository: szepeviktor/astyle
20
+ path: astyle
21
+ ref: v3.4.12
22
+ - name: Install astyle
23
+ run: |
24
+ cd astyle/build/gcc/
25
+ make
26
+ sudo make install
27
+ astyle --version
0 commit comments