Skip to content

ci: show Gradle deprecation warnings #79

ci: show Gradle deprecation warnings

ci: show Gradle deprecation warnings #79

Workflow file for this run

# SPDX-FileCopyrightText: © The Clara Framework Authors
#
# SPDX-License-Identifier: MIT-0
name: build
on:
push:
branches:
- '**'
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: gradle
- name: Prepare environment
run: |
echo "CLARA_HOME=$HOME/clara-java" >> $GITHUB_ENV
echo "CLARA_USER_DATA=$HOME/clara-java" >> $GITHUB_ENV
echo "CLARA_CONNECTION_TIMEOUT=5000" >> $GITHUB_ENV
echo "CLARA_SUBSCRIPTION_TIMEOUT=5000" >> $GITHUB_ENV
echo "CLARA_POST_CONNECTION_SLEEP=250" >> $GITHUB_ENV
echo "CLARA_POST_SUBSCRIPTION_SLEEP=250" >> $GITHUB_ENV
- name: Build with Gradle
run: |
./gradlew --warning-mode=all -PciMode=true build codenarc spotbugs
./gradlew --warning-mode=all integration