diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b07d1d77..1f4a835b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,14 @@ jobs: distribution: 'zulu' java-version: '11' - - name: Set up Gradle + - name: Set up Gradle cache uses: gradle/gradle-build-action@v2 + with: + cache-read-only: ${{ github.ref != 'refs/heads/development' }} - name: Check code style - run: cd android && ./gradlew ktlintCheck + run: ./gradlew ktlintCheck + working-directory: android test-build-typescript: name: Build Typescript