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 306fdbe commit dadb2faCopy full SHA for dadb2fa
.github/workflows/ci.yaml
@@ -16,17 +16,32 @@ jobs:
16
library-manager: submit
17
compliance: strict
18
19
- formatting-check:
20
- name: Formatting Check
+ format:
21
runs-on: ubuntu-latest
22
steps:
23
- - uses: actions/checkout@v4
24
- - name: Run clang-format style check for C/C++/Protobuf programs.
25
- uses: jidicula/clang-format-action@v4.13.0
+ - uses: actions/checkout@v4
+ with:
+ ref: ${{ github.head_ref }}
+ fetch-depth: 2
26
+
27
+ - uses: jayllyz/clang-format-action@v1
28
+ # Default options
29
30
+ check: false
31
+ style: file
32
+ extensions: cpp,h,hpp,c
33
+ clang-version: latest
34
35
+ # commit the changes (if there are any)
36
+ - name: Commit changes
37
+ uses: stefanzweifel/git-auto-commit-action@v5
38
39
+ commit_message: "clang-format ✅"
40
+ branch: ${{ github.head_ref }}
41
42
test:
43
-
44
+needs: lint, format
45
46
- uses: actions/setup-python@v4
47
with:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments