Skip to content

Commit

Permalink
Merge pull request #17 from spyrkob/test_jdk_21
Browse files Browse the repository at this point in the history
Add JDK 17 and 21 to the test matrix
  • Loading branch information
spyrkob authored Mar 4, 2024
2 parents 2717478 + 0ad4757 commit f073b81
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-JDK${{ 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 f073b81

Please sign in to comment.