Skip to content

Commit

Permalink
Add JDK 17 and 21 to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
spyrkob committed Mar 4, 2024
1 parent 398cadd commit ed3cee1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ on:

jobs:
build:
name: 'Build and test'
name: Linux-${{ matrix.jdk }}
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
jdk: [11, 17, 21]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
with:
java-version: 11
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
cache: maven
- name: Build and test
Expand Down

0 comments on commit ed3cee1

Please sign in to comment.