Skip to content

Commit 09f1a02

Browse files
authored
Fix GitHub actions workflows (#138)
1 parent 7793932 commit 09f1a02

File tree

6 files changed

+17
-36
lines changed

6 files changed

+17
-36
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -60,33 +60,12 @@ jobs:
6060
- name: Make Gradle executable
6161
run: chmod +x ./gradlew
6262

63-
- name: Publish to Maven Local (app module requires current version)
64-
run: ./gradlew publishToMavenLocal -x test --no-daemon -PRELEASE_SIGNING_ENABLED=false
65-
6663
- name: Build with Gradle
6764
run: |
6865
./gradlew --scan --stacktrace \
69-
assemble
66+
assemble -x :app:assemble
7067
7168
- name: Run unit tests
7269
run: |
7370
./gradlew --scan --stacktrace \
74-
testDebugUnitTest
75-
76-
stability_check:
77-
name: Compose Stability Check
78-
runs-on: macos-latest
79-
needs: build
80-
steps:
81-
- name: Check out code
82-
uses: actions/checkout@v5.0.0
83-
- name: Set up JDK
84-
uses: actions/setup-java@v5.0.0
85-
with:
86-
distribution: 'zulu'
87-
java-version: 21
88-
- name: Publish to Maven Local (required for plugin resolution)
89-
run: ./gradlew publishToMavenLocal -x test --no-daemon -PRELEASE_SIGNING_ENABLED=false
90-
91-
- name: compose stability check
92-
run: ./gradlew stabilityCheck
71+
:stability-compiler:test

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ jobs:
2222
- name: Grant Permission to Execute Gradle
2323
run: chmod +x gradlew
2424

25-
- name: Publish to Maven Local (required for app module to use current version)
26-
run: ./gradlew publishToMavenLocal -x test --no-daemon -PRELEASE_SIGNING_ENABLED=false
27-
2825
- name: Release build
29-
run: ./gradlew assemble --scan
26+
run: ./gradlew assemble -x :app:assemble --scan
3027

3128
- name: Publish to MavenCentral
3229
run: |
@@ -36,4 +33,4 @@ jobs:
3633
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
3734
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
3835
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
39-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
36+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}

compose-stability-analyzer-idea/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repositories {
3838
}
3939

4040
dependencies {
41-
implementation("com.github.skydoves:compose-stability-runtime-jvm:0.7.1")
41+
implementation("com.github.skydoves:compose-stability-runtime-jvm:0.7.0")
4242

4343
intellijPlatform {
4444
intellijIdeaCommunity("2025.2")

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ androidGradlePlugin = "8.13.1"
1313
androidxActivity = "1.11.0"
1414
androidxComposeBom = "2025.12.00"
1515
jetbrains-compose = "1.9.3"
16-
compose-stability-analyzer = "0.7.1"
16+
compose-stability-analyzer = "0.7.0"
1717
runtimeAnnotation = "1.9.0"
1818
spotless = "6.21.0"
1919
shadow = "8.1.1"

kotlin-js-store/yarn.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,11 @@ is-number@^7.0.0:
11021102
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
11031103
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
11041104

1105+
is-path-inside@^3.0.3:
1106+
version "3.0.3"
1107+
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
1108+
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
1109+
11051110
is-plain-obj@^2.1.0:
11061111
version "2.1.0"
11071112
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
@@ -1368,10 +1373,10 @@ mkdirp@^0.5.5:
13681373
dependencies:
13691374
minimist "^1.2.6"
13701375

1371-
mocha@11.7.2:
1372-
version "11.7.2"
1373-
resolved "https://registry.yarnpkg.com/mocha/-/mocha-11.7.2.tgz#3c0079fe5cc2f8ea86d99124debcc42bb1ab22b5"
1374-
integrity sha512-lkqVJPmqqG/w5jmmFtiRvtA2jkDyNVUcefFJKb2uyX4dekk8Okgqop3cgbFiaIvj8uCRJVTP5x9dfxGyXm2jvQ==
1376+
mocha@11.7.5:
1377+
version "11.7.5"
1378+
resolved "https://registry.yarnpkg.com/mocha/-/mocha-11.7.5.tgz#58f5bbfa5e0211ce7e5ee6128107cefc2515a627"
1379+
integrity sha512-mTT6RgopEYABzXWFx+GcJ+ZQ32kp4fMf0xvpZIIfSq9Z8lC/++MtcCnQ9t5FP2veYEP95FIYSvW+U9fV4xrlig==
13751380
dependencies:
13761381
browser-stdout "^1.3.1"
13771382
chokidar "^4.0.1"
@@ -1381,6 +1386,7 @@ mocha@11.7.2:
13811386
find-up "^5.0.0"
13821387
glob "^10.4.5"
13831388
he "^1.2.0"
1389+
is-path-inside "^3.0.3"
13841390
js-yaml "^4.1.0"
13851391
log-symbols "^4.1.0"
13861392
minimatch "^9.0.5"

stability-compiler/api/stability-compiler.api

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public final class com/skydoves/compose/stability/compiler/ComposableStabilityChecker : org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirDeclarationChecker {
22
public static final field INSTANCE Lcom/skydoves/compose/stability/compiler/ComposableStabilityChecker;
3+
public fun check (Lorg/jetbrains/kotlin/fir/analysis/checkers/context/CheckerContext;Lorg/jetbrains/kotlin/diagnostics/DiagnosticReporter;Lorg/jetbrains/kotlin/fir/declarations/FirCallableDeclaration;)V
34
public synthetic fun check (Lorg/jetbrains/kotlin/fir/analysis/checkers/context/CheckerContext;Lorg/jetbrains/kotlin/diagnostics/DiagnosticReporter;Lorg/jetbrains/kotlin/fir/declarations/FirDeclaration;)V
4-
public fun check (Lorg/jetbrains/kotlin/fir/analysis/checkers/context/CheckerContext;Lorg/jetbrains/kotlin/diagnostics/DiagnosticReporter;Lorg/jetbrains/kotlin/fir/declarations/FirSimpleFunction;)V
55
}
66

77
public final class com/skydoves/compose/stability/compiler/ComposableStabilityInfo {
@@ -87,7 +87,6 @@ public final class com/skydoves/compose/stability/compiler/StabilityAnalyzerComm
8787
public fun getPluginId ()Ljava/lang/String;
8888
public fun getPluginOptions ()Ljava/util/Collection;
8989
public fun processOption (Lorg/jetbrains/kotlin/compiler/plugin/AbstractCliOption;Ljava/lang/String;Lorg/jetbrains/kotlin/config/CompilerConfiguration;)V
90-
public fun processOption (Lorg/jetbrains/kotlin/compiler/plugin/CliOption;Ljava/lang/String;Lorg/jetbrains/kotlin/config/CompilerConfiguration;)V
9190
}
9291

9392
public final class com/skydoves/compose/stability/compiler/StabilityAnalyzerCommandLineProcessor$Companion {

0 commit comments

Comments
 (0)