fix(deps): update dependency io.github.qdsfdhvh:image-loader to v1.7.6 #25
Workflow file for this run
This file contains 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: "Checks" | |
on: | |
pull_request: | |
branches: | |
- main | |
# Cancel any current or previous job from the same PR | |
concurrency: | |
group: checks-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
changed: | |
runs-on: ubuntu-22.04 | |
outputs: | |
android: ${{ steps.needs.outputs.android }} | |
ios: ${{ steps.needs.outputs.ios }} | |
backend: ${{ steps.needs.outputs.backend }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Paths Changes Filter | |
uses: dorny/[email protected] | |
id: changes | |
with: | |
filters: | | |
android: | |
- 'app/android/**/*' | |
- 'app/shared/**/*' | |
- 'build-logic/**/*' | |
- 'core/**/*' | |
- 'feature/**/*' | |
- 'gradle/**/*' | |
- 'build.gradle.kts' | |
- 'gradle.properties' | |
- 'settings.gradle.kts' | |
ios: | |
- 'app/ios/**/*' | |
- 'app/ios-combined/**/*' | |
- 'app/shared/**/*' | |
- 'build-logic/**/*' | |
- 'core/**/*' | |
- 'feature/**/*' | |
- 'gradle/**/*' | |
- 'build.gradle.kts' | |
- 'gradle.properties' | |
- 'settings.gradle.kts' | |
backend: | |
- 'app/backend/**/*' | |
- 'build-logic/**/*' | |
- 'core/**/*' | |
- 'gradle/**/*' | |
- 'build.gradle.kts' | |
- 'gradle.properties' | |
- 'settings.gradle.kts' | |
- name: Output Needs | |
id: needs | |
run: | | |
echo "android=${{ steps.changes.outputs.android == 'true' }}" >> $GITHUB_OUTPUT | |
echo "ios=${{ steps.changes.outputs.ios == 'true' }}" >> $GITHUB_OUTPUT | |
echo "backend=${{ steps.changes.outputs.backend == 'true' }}" >> $GITHUB_OUTPUT | |
check-android: | |
runs-on: ubuntu-22.04 | |
needs: changed | |
if: needs.changed.outputs.android == 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
- name: Unit Tests | |
run: ./gradlew testDebugUnitTest | |
- name: Build | |
run: ./gradlew :app:android:assembleDevDebug | |
check-ios: | |
runs-on: macos-13 | |
needs: changed | |
if: needs.changed.outputs.ios == 'true' | |
strategy: | |
matrix: | |
destination: [ 'platform=iOS Simulator,OS=17.2,name=iPhone 15' ] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: '15.1.0' | |
- name: Build iOS framework | |
run: ./gradlew :app:ios-combined:assembleNitoKmpReleaseXCFramework | |
- name: Run iOS unit tests | |
continue-on-error: true | |
run: xcodebuild clean build -project app/ios/App/Nito/Nito.xcodeproj -configuration Debug -scheme Dev -sdk iphoneos -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -test-timeouts-enabled YES | |
env: | |
destination: ${{ matrix.destination }} | |
check-backend: | |
runs-on: ubuntu-22.04 | |
needs: changed | |
if: needs.changed.outputs.backend == 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Unit Tests | |
run: ./gradlew :app:backend:check | |
- name: Build | |
run: ./gradlew :app:backend:buildFatJar |