Bump quarkus.version from 3.17.0 to 3.17.2 (#299) #521
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: Build | |
on: | |
push: | |
branches: | |
- "main" | |
paths-ignore: | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
- '*.md' | |
- '*.adoc' | |
- '*.txt' | |
- '.all-contributorsrc' | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
- '*.md' | |
- '*.adoc' | |
- '*.txt' | |
- '.all-contributorsrc' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ | |
{ 'version': '17', opts: '' }, | |
{ 'version': '21', 'opts': '' } | |
] | |
name: build with jdk ${{matrix.java.version}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{matrix.java.version}} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java.version}} | |
cache: maven | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Cache Maven Repository | |
id: cache-maven | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
# refresh cache every month to avoid unlimited growth | |
key: maven-repo-${{ runner.os }}-${{ steps.get-date.outputs.date }} | |
- name: Build with Maven | |
run: mvn -B formatter:validate verify --file pom.xml -Dnative | |
build-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
java: [ | |
{ 'version': '17', opts: '' }, | |
{ 'version': '21', 'opts': '' } | |
] | |
name: build with jdk ${{matrix.java.version}} windows | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
- uses: actions/setup-java@v4 | |
name: set up jdk ${{matrix.java.version}} | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java.version}} | |
cache: maven | |
- name: Get Date | |
id: get-date | |
run: | | |
echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Cache Maven Repository | |
id: cache-maven | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
# refresh cache every month to avoid unlimited growth | |
key: maven-repo-${{ runner.os }}-${{ steps.get-date.outputs.date }} | |
- name: build with maven | |
# Skip integration tests. TestContainers does not support Windows Server 2019: https://github.com/testcontainers/testcontainers-java/issues/2960 | |
run: mvn -B test --file pom.xml |