Skip to content

Commit 40773a2

Browse files
committed
GitHub workflow: enable Java matrix [ '1.8.0', '11.0.x' ]
1 parent 7e0d61a commit 40773a2

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ jobs:
77
build:
88

99
runs-on: ubuntu-latest
10-
10+
strategy:
11+
matrix:
12+
java: [ '1.8.0', '11.0.x' ]
1113
steps:
1214
- uses: actions/checkout@v1
13-
- name: Set up JDK 1.8
15+
- name: Set up JDK
1416
uses: actions/setup-java@v1
1517
with:
16-
java-version: 1.8
18+
java-version: ${{ matrix.java }}
1719
- name: Maven Download all dependencies
1820
run: mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline
1921
- name: Maven Build

pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@
5353
<configuration>
5454
<source>1.8</source>
5555
<target>1.8</target>
56+
<annotationProcessorPaths>
57+
<annotationProcessorPath>
58+
<groupId>com.infradna.tool</groupId>
59+
<artifactId>bridge-method-injector</artifactId>
60+
<version>1.18</version>
61+
</annotationProcessorPath>
62+
</annotationProcessorPaths>
5663
</configuration>
5764
</plugin>
5865

@@ -104,9 +111,9 @@
104111
<executions>
105112
<execution>
106113
<id>run-spotbugs</id>
107-
<phase>verify</phase>
114+
<phase>verify</phase>
108115
<goals>
109-
<goal>check</goal>
116+
<goal>check</goal>
110117
</goals>
111118
</execution>
112119
</executions>

0 commit comments

Comments
 (0)