Bump actions/checkout from 3 to 4 #13
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: Java-EA with Maven | |
on: | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
build-and-test-job: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '-ea' ] | |
os: [ ubuntu-latest ] | |
name: JDK${{ matrix.java }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Build and (headless) test with Maven | |
uses: smithki/[email protected] | |
with: | |
run: mvn -U -B -ntp package |