File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,21 +11,32 @@ jobs:
1111 build-and-test :
1212 name : Java CI - test
1313 runs-on : ubuntu-latest
14+
15+ strategy :
16+ matrix :
17+ java-version : [1.8, 11, 17, 21]
18+
1419 steps :
1520 - uses : actions/checkout@v2
21+
1622 - name : Set up Java
1723 uses : actions/setup-java@v1
1824 with :
19- java-version : 1.8
25+ java-version : ${{ matrix.java-version }}
26+
2027 - name : Inject dummy example config
2128 working-directory : duo-example
2229 run : printf "duo.clientId=DIAAAAAAAAAAAAAAAAAA\nduo.clientSecret=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nduo.api.host=example.duosecurity.com\nduo.redirect.uri=http://localhost:8080\nduo.failmode=CLOSED\n" > ./src/main/resources/application.properties
30+
2331 - name : Build and test with Maven
2432 run : mvn -B install
33+
2534 - name : Lint with checkstyle
2635 run : mvn checkstyle:check
36+
2737 - name : Verify example starts
2838 working-directory : duo-example
2939 run : mvn spring-boot:start
40+
3041 - name : Verify release profile works
3142 run : mvn -P release package
You can’t perform that action at this time.
0 commit comments