From d7d258e602982c714d4ec25ed587019d36de559e Mon Sep 17 00:00:00 2001 From: Chris Banes Date: Tue, 23 Jan 2024 10:09:56 +0000 Subject: [PATCH] Remove codestyle CI job (#1721) * Ignore disabled KMP targets * Remove codestyle job --- .github/workflows/build.yml | 42 +++---------------------------------- gradle.properties | 2 ++ 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10221e9d24..7eda12e7b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,42 +10,7 @@ on: workflow_dispatch: jobs: - code-style: - runs-on: macos-latest - timeout-minutes: 60 - env: - ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_URL: ${{ secrets.ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_URL }} - ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_USERNAME }} - ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_REMOTE_BUILD_CACHE_PASSWORD }} - - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - - - name: set up JDK - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: 21 - - - uses: ruby/setup-ruby@v1 - with: - bundler-cache: true - - - uses: gradle/gradle-build-action@v2 - with: - cache-disabled: true - - - name: Check convention plugins code style with Spotless - run: ./gradlew -p gradle/build-logic spotlessCheck - - - name: Check code style with Spotless - run: ./gradlew spotlessCheck - - - name: Check code style with SwiftLint - run: bundle exec fastlane ios lint - android: - needs: [code-style] runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -116,7 +81,6 @@ jobs: **/build/test-results/* desktop: - needs: [code-style] runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -170,7 +134,6 @@ jobs: **/build/test-results/* ios-qa-app: - needs: [code-style] runs-on: macos-13 timeout-minutes: 60 env: @@ -208,6 +171,9 @@ jobs: env: ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }} + - name: Run Fastlane Lint lane + run: bundle exec fastlane ios lint + - name: Build iOS application run: bundle exec fastlane ios build_qa env: @@ -237,7 +203,6 @@ jobs: **/fastlane-buildlog ios-prod-app: - needs: [code-style] runs-on: macos-13 timeout-minutes: 60 env: @@ -304,7 +269,6 @@ jobs: **/fastlane-buildlog ios-test: - needs: [code-style] runs-on: macos-13 timeout-minutes: 60 env: diff --git a/gradle.properties b/gradle.properties index daff41d225..8412b96e0e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -35,5 +35,7 @@ android.defaults.buildFeatures.buildConfig=false kotlin.mpp.androidSourceSetLayoutVersion=2 kotlin.mpp.androidGradlePluginCompatibility.nowarn=true +# Ignore disabled targets (i.e iOS on Linux) +kotlin.native.ignoreDisabledTargets=true org.jetbrains.compose.experimental.uikit.enabled=true