Skip to content

Commit 73d7d3d

Browse files
authored
Use MO2 formatting action. (#133)
* Use MO2 formatting action. * Fix format for clang-format 17.
1 parent 11dafd0 commit 73d7d3d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/linting.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Run clang-format
14-
uses: jidicula/clang-format-action@v4.11.0
13+
- name: Check format
14+
uses: ModOrganizer2/check-formatting-action@master
1515
with:
16-
clang-format-version: "16"
1716
check-path: "."
1817
exclude-regex: "third-party"

src/cmd/pr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ namespace mob {
116116
if (!task)
117117
return 1;
118118

119-
u8cout << "checking out pr " << pr.number << " " << "in "
120-
<< task->name() << "\n";
119+
u8cout << "checking out pr " << pr.number << " "
120+
<< "in " << task->name() << "\n";
121121

122122
git_wrap g(task->source_path());
123123

0 commit comments

Comments
 (0)