Skip to content

Bump com.gradle.enterprise from 3.17.6 to 3.18 (#334) #566

Bump com.gradle.enterprise from 3.17.6 to 3.18 (#334)

Bump com.gradle.enterprise from 3.17.6 to 3.18 (#334) #566

Workflow file for this run

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