Bump jenaVersion from 4.10.0 to 5.1.0 #568
Workflow file for this run
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: GitHub CI | |
on: | |
push: | |
branches: | |
- main | |
- trellis-microprofile-[0-9]+.[0-9]+.x | |
pull_request: | |
branches: | |
- main | |
jobs: | |
validation: | |
name: Validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v3 | |
build: | |
name: Java ${{ matrix.java }} environment | |
needs: [validation] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11] | |
services: | |
postgres: | |
image: postgres:10.8 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: trellis | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java }} | |
- name: Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build with Gradle | |
run: ./gradlew build javadoc -PexternalPgsql | |
env: | |
QUARKUS_DATASOURCE_USERNAME: postgres | |
QUARKUS_DATASOURCE_PASSWORD: postgres | |
QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://localhost/trellis | |