Skip to content

Formatting rules

Formatting rules #264

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 -Dno-format -B -V
- name: "Maven test"
run: |
mvn -Pstaging test -B