ci: show Gradle deprecation warnings #79
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
# 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 |