diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfea60cfe8..c9f5ac74f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,15 +25,17 @@ jobs: - name: Gradle Build Action uses: gradle/gradle-build-action@v2 + with: + cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} - name: ktlint run: ./gradlew clean ktlintCheck - name: Regular lint - run: ./gradlew lintGreenDebug + run: ./gradlew app:lintGreenDebug - name: Test run: ./gradlew app:testGreenDebugUnitTest - name: Build - run: ./gradlew app:greenDebug + run: ./gradlew app:buildGreenDebug