Skip to content

feat: add new API to Gestalt to get a config as a GResultOf, so we ca… #951

feat: add new API to Gestalt to get a config as a GResultOf, so we ca…

feat: add new API to Gestalt to get a config as a GResultOf, so we ca… #951

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle build
run: ./gradlew clean build
env:
DB_IDLETIMEOUT: 123
SUBSERVICE_BOOKING_ISENABLED: true
SUBSERVICE_BOOKING_SERVICE_HOST: https://dev.booking.host.name
SUBSERVICE_BOOKING_SERVICE_PORT: 443
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Coverage
if: success()
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./code-coverage-report/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml
fail_ci_if_error: true