ci: add objective-c formatting checks #55
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "17" | |
| distribution: "temurin" | |
| - name: Enable Homebrew | |
| uses: Homebrew/actions/setup-homebrew@main | |
| - uses: tecolicom/actions-use-homebrew-tools@v1 | |
| with: | |
| tools: clang-format | |
| cache: yes | |
| - name: Use Homebrew clang-format 21.1.3 | |
| run: | | |
| brew link --overwrite --force clang-format >/dev/null | |
| export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" | |
| clang-format --version | |
| - name: Make gradlew executable | |
| run: chmod +x example/IonicCapOneSignal/android/gradlew | |
| - name: Check Code formatting | |
| run: ./example/IonicCapOneSignal/android/gradlew spotlessCheck |