chore: updated test workflow to use latest java version #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Testing | |
on: ['push'] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: [ '17', '21' ] | |
os: [ 'ubuntu-latest' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDKs | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Build project with Maven | |
run: mvn test --file pom.xml |