Skip to content

Commit 3f85d49

Browse files
committed
WIP
Signed-off-by: Eric Bottard <eric.bottard@broadcom.com>
1 parent d890ede commit 3f85d49

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pr-check.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: PR Check
22

33
on:
44
pull_request:
5-
branches:
6-
- main
75

86
jobs:
97
build:
@@ -21,6 +19,14 @@ jobs:
2119
distribution: 'temurin'
2220
cache: 'maven'
2321

22+
- name: Maven Build-Cache
23+
uses: actions/cache@v4
24+
with:
25+
path: ~/.m2/build-cache
26+
key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
build-cache-${{ runner.os }}-
29+
2430
- name: Run tests
2531
run: |
2632
./mvnw -ntp -B -U test

0 commit comments

Comments
 (0)