Skip to content

Commit 2aea385

Browse files
committed
Enable Gradle configuration and build caches in CI workflows
1 parent 55903a1 commit 2aea385

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# uses: github/codeql-action/autobuild@v2
5454

5555
- name: Build
56-
run: ./gradlew --no-daemon lib:assemble
56+
run: ./gradlew --no-daemon --configuration-cache --build-cache lib:assemble
5757

5858
- name: Perform CodeQL Analysis
5959
uses: github/codeql-action/analyze@v3

.github/workflows/test-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: gradle/actions/setup-gradle@v3
1919

2020
- name: Check
21-
run: ./gradlew lib:check
21+
run: ./gradlew --configuration-cache --build-cache lib:check
2222

2323
test_on_emulator:
2424
name: Tests with emulator
@@ -45,4 +45,4 @@ jobs:
4545
key: avd-${{ hashFiles('lib/build.gradle.kts') }} # gradle-managed devices are defined there
4646

4747
- name: Run device tests
48-
run: ./gradlew --no-daemon lib:virtualCheck
48+
run: ./gradlew --configuration-cache --build-cache lib:virtualCheck

0 commit comments

Comments
 (0)