Skip to content

Commit 69e43dc

Browse files
committed
Add lint GHA
1 parent 5e4f506 commit 69e43dc

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint Exercises
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: macos-15
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
12+
13+
- name: Install OCLint
14+
run: brew install oclint
15+
16+
- name: Run OCLint
17+
run: |
18+
set -o pipefail
19+
xcodebuild \
20+
-project xcodeProject/ObjectiveC.xcodeproj \
21+
-target OCLint \
22+
| xcpretty

0 commit comments

Comments
 (0)