From 31e0dcadb738b037fb13332d35bf2008fbbd6a95 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sun, 22 Feb 2026 05:27:31 +0300 Subject: [PATCH] ci: use shared install action for code-quality workflow (NDK required) --- .github/workflows/code-quality.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 2b16de5..5d616ae 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -37,20 +37,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up JDK - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - - name: Cache Gradle - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }} - restore-keys: gradle-${{ runner.os }}- + - name: Install dependencies + uses: ./.github/workflows/install/ - name: Run ktlint run: ./gradlew ktlint