Skip to content

chore: add core and domain modules #14

chore: add core and domain modules

chore: add core and domain modules #14

Workflow file for this run

name: PR job
on:
workflow_dispatch:
push:
branches:
- main
- development
pull_request:
paths-ignore:
- "**.md"
- "*.png"
- docs
jobs:
pre-conditions:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: corretto
java-version: 18
- name: detekt
run: ./gradlew detekt --stacktrace
- name: GitHub Action for SwiftLint (Only files changed in the PR)
uses: norio-nomura/[email protected]
env:
WORKING_DIRECTORY: ./iosApp
build-android:
needs: pre-conditions
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: corretto
java-version: 18
- name: Build
run: ./gradlew build --stacktrace
build-ios:
needs: pre-conditions
runs-on: macos-13
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: corretto
java-version: 18
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Select Xcode version
run: |
XCODE_VERSION="15.0"
sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app"
- name: Build
run: |
cd iosApp
rm -f iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
xcodebuild -resolvePackageDependencies -project iosApp.xcodeproj
xcodebuild build-for-testing \
-scheme "iosApp" \
-project iosApp.xcodeproj \
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' \
-allowProvisioningUpdates \
-configuration Debug \
DEVELOPMENT_TEAM=${{ secrets.APPLE_TEAM_ID }} # Reference the GitHub secret here