Skip to content

Commit 14a4302

Browse files
committed
ci: enable java caching
1 parent 968a7ba commit 14a4302

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
with:
3535
distribution: temurin
3636
java-version: 21
37+
cache: 'maven'
3738
- name: Setup Maven
3839
uses: stCarolas/setup-maven@v5
3940
with:
@@ -54,6 +55,7 @@ jobs:
5455
with:
5556
distribution: temurin
5657
java-version: 21
58+
cache: 'gradle'
5759
- name: Run Gradle example benchmarks
5860
run: ./gradlew :examples:example-gradle:jmh
5961

@@ -70,6 +72,7 @@ jobs:
7072
with:
7173
distribution: temurin
7274
java-version: 21
75+
cache: 'maven'
7376
- name: Setup Maven
7477
uses: stCarolas/setup-maven@v5
7578
with:
@@ -94,6 +97,7 @@ jobs:
9497
with:
9598
distribution: ${{ matrix.distribution }}
9699
java-version: 21
100+
cache: 'gradle'
97101

98102
- uses: dtolnay/rust-toolchain@stable
99103
- run: cargo install --locked --git https://github.com/CodSpeedHQ/runner --branch "cod-2309-walltime-benchmarks-with-flamegraphs" codspeed-runner

0 commit comments

Comments
 (0)