From 69e43dc3da2adcba3dab258d4d4b8c300a9ca817 Mon Sep 17 00:00:00 2001 From: BNAndras <20251272+BNAndras@users.noreply.github.com> Date: Sat, 18 Apr 2026 15:41:03 -0700 Subject: [PATCH] Add lint GHA --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..e7b323a --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Lint Exercises + +on: [push, pull_request] + +jobs: + lint: + runs-on: macos-15 + + steps: + - name: Checkout code + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + + - name: Install OCLint + run: brew install oclint + + - name: Run OCLint + run: | + set -o pipefail + xcodebuild \ + -project xcodeProject/ObjectiveC.xcodeproj \ + -target OCLint \ + | xcpretty