Skip to content

Commit a45f1dd

Browse files
committed
2 parents 8687afb + 45e3b54 commit a45f1dd

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,22 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414

15-
- name: Set up JDKd
15+
- name: Set up JDK
1616
uses: actions/setup-java@v2
1717
with:
1818
distribution: 'zulu'
1919
java-version: '11'
2020

21+
- name: Cache gradle, wrapper and buildSrc
22+
uses: actions/cache@v2
23+
with:
24+
path: |
25+
~/.gradle/caches
26+
~/.gradle/wrapper
27+
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
28+
restore-keys: |
29+
${{ runner.os }}-${{ github.job }}-
30+
2131
- name: Make gradlew executable
2232
run: chmod +x ./gradlew
2333

.github/workflows/gradle-versions-checker.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ jobs:
2121
distribution: 'zulu'
2222
java-version: '11'
2323

24+
- name: Cache gradle, wrapper and buildSrc
25+
uses: actions/cache@v2
26+
with:
27+
path: |
28+
~/.gradle/caches
29+
~/.gradle/wrapper
30+
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
31+
restore-keys: |
32+
${{ runner.os }}-${{ github.job }}-
33+
2434
- name: Make gradlew executable
2535
run: chmod +x ./gradlew
2636

.github/workflows/review-suggest.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ jobs:
1515
with:
1616
distribution: 'zulu'
1717
java-version: '11'
18+
- name: Cache gradle, wrapper and buildSrc
19+
uses: actions/cache@v2
20+
with:
21+
path: |
22+
~/.gradle/caches
23+
~/.gradle/wrapper
24+
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
25+
restore-keys: |
26+
${{ runner.os }}-${{ github.job }}-
1827
- name: Make gradlew executable
1928
run: chmod +x ./gradlew
2029
- run: ./gradlew spotlessKotlinApply

.github/workflows/unit-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
distribution: 'zulu'
1919
java-version: '11'
2020

21+
- name: Cache gradle, wrapper and buildSrc
22+
uses: actions/cache@v2
23+
with:
24+
path: |
25+
~/.gradle/caches
26+
~/.gradle/wrapper
27+
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
28+
restore-keys: |
29+
${{ runner.os }}-${{ github.job }}-
30+
2131
- name: Make gradlew executable
2232
run: chmod +x ./gradlew
2333

0 commit comments

Comments
 (0)