Skip to content

build(deps): Bump org.openrewrite.maven:rewrite-maven-plugin from 5.37.1 to 5.38.0 #33

build(deps): Bump org.openrewrite.maven:rewrite-maven-plugin from 5.37.1 to 5.38.0

build(deps): Bump org.openrewrite.maven:rewrite-maven-plugin from 5.37.1 to 5.38.0 #33

name: Build and Test with Zulu JDK
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
- name: Prepare artifacts
uses: actions/cache@v4
env:
cache-name: build-maven-repository
with:
path: ~/.m2/repository
key: ${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}
- name: Prepare Build
run: ./ci-support/prepare-build.sh
build:
needs: prepare
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
- name: Cache build artifacts
uses: actions/cache@v4
env:
cache-name: build-maven-repository
with:
path: ~/.m2/repository
key: ${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}
- name: Build with Maven
run: ./ci-support/build.sh
test-weld:
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# LTS versions
java: [11, 17, 21]
weld:
- v4.0
- v5.0
- v5.1
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Restore build artifacts
uses: actions/cache@v4
env:
cache-name: build-maven-repository
with:
path: ~/.m2/repository
key: ${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}
${{ env.cache-name }}-${{ github.sha }}
- name: Test Weld ${{ matrix.weld }}
run: ./ci-support/test-weld.sh weld-${{ matrix.weld }}.sh
test-deltaspike:
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# LTS versions
java: [11, 17, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Restore build artifacts
uses: actions/cache@v4
env:
cache-name: build-maven-repository
with:
path: ~/.m2/repository
key: ${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
${{ env.cache-name }}-${{ github.sha }}-${{ github.run_id }}
${{ env.cache-name }}-${{ github.sha }}
- name: Test DeltaSpike
run: ./ci-support/test-deltaspike.sh deltaspike-v2.x.sh