-
-
Notifications
You must be signed in to change notification settings - Fork 11
35 lines (31 loc) · 880 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-15
permissions:
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.GradleEncryptionKey }}
- name: Build with Gradle
run: ./gradlew detekt build
- name: Upload SARIF to Github using the upload-sarif action
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: build/reports/detekt/detekt.sarif
- run: ./gradlew :clients:assembleClientsDebugXCFramework
- name: Build iOS app
run: swift build
working-directory: iosLib