Skip to content

Commit

Permalink
Test all supported Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Jun 9, 2024
1 parent 3ece769 commit e05e883
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ on:

jobs:
build:

strategy:
matrix:
java-version: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: ${{ java-version }}
distribution: 'zulu'
- name: Build with Maven
run: ./mvnw -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify -B

0 comments on commit e05e883

Please sign in to comment.