Skip to content

Bump actions/setup-java from 3.13.0 to 4.0.0 #234

Bump actions/setup-java from 3.13.0 to 4.0.0

Bump actions/setup-java from 3.13.0 to 4.0.0 #234

Workflow file for this run

name: Jakarta Contexts and Dependency Injection CI
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
name: "Build CDI - JDK ${{matrix.java}}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '11', '17', '21' ]
steps:
- uses: actions/checkout@v4.1.1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.0.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: "Maven install"
run: |
mvn -Pstaging install -DskipTests=true -B -V
- name: "Maven test"
run: |
mvn -Pstaging test -B