forked from DevFW-CICD/spring-petclinic
Add support and CI tests for Java 8
This commit is contained in:
parent
53343c27ab
commit
70f615afd1
2 changed files with 5 additions and 1 deletions
5
.github/workflows/maven-build.yml
vendored
5
.github/workflows/maven-build.yml
vendored
|
@ -13,13 +13,16 @@ jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
java: [ '8', '11', '17' ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: ${{matrix.java}}
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
cache: maven
|
cache: maven
|
||||||
- name: Build with Maven Wrapper
|
- name: Build with Maven Wrapper
|
||||||
|
|
1
.springjavaformatconfig
Normal file
1
.springjavaformatconfig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
java-baseline=8
|
Loading…
Reference in a new issue