Skip to content

Quarkus 3.6.1

Quarkus 3.6.1 #476

name: API Tests
on:
push:
paths:
- 'pom.xml'
- 'api/**'
- '.github/**'
pull_request:
types: [assigned, opened, synchronize, reopened, ready_for_review, edited]
paths:
- 'pom.xml'
- 'api/**'
- '.github/**'
env:
# Workaround testsuite locale issue
LANG: en_US.UTF-8
jobs:
build-test:
name: "Build & Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: n1hility/cancel-previous-runs@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 21
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: openjdk21
- name: Cache Maven Repository
id: cache-maven
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('api/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
working-directory: api
run: |
mvn -e -B -DskipTests=true clean package
- name: Test
working-directory: api
run: |
mvn -e -B verify