Skip to content

Commit c1c1063

Browse files
committed
Install guava-shaded before running core's compile in CI
Without this module available "Build" and "Unit tests" job fail with "package <x> does not exist" or "cannot find symbol" pointing to `[...].shaded.guava.[...]` packages.
1 parent 33274ec commit c1c1063

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/[email protected]

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
path: ~/.m2/repository
4040
key: ${{ runner.os }}-${{ matrix.java-version }}-maven-${{ steps.get-pom-hash.outputs.value }}
4141

42+
- name: Install guava-shaded
43+
run: mvn install -pl guava-shaded
44+
4245
- name: Compile source and tests
4346
run: mvn -B compile test-compile -Dfmt.skip=true -Dclirr.skip=true -Danimal.sniffer.skip=true
4447

@@ -113,6 +116,9 @@ jobs:
113116
path: ~/.m2/repository
114117
key: ${{ runner.os }}-${{ matrix.java-version }}-maven-${{ hashFiles('**/pom.xml') }}
115118

119+
- name: Install guava-shaded
120+
run: mvn install -pl guava-shaded
121+
116122
- name: Run unit tests
117123
run: mvn -B test -Dfmt.skip=true -Dclirr.skip=true -Danimal.sniffer.skip=true
118124

0 commit comments

Comments
 (0)