bump gradle -> 8.11 #182
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: continuous integration on jactor-web | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
env: | |
runs-on: ubuntu-latest | |
name: debug environment | |
steps: | |
- run: cat $GITHUB_EVENT_PATH | |
- run: env | |
build: | |
runs-on: ubuntu-latest | |
name: Build and test with gradle | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: gradle | |
- run: ./gradlew :web:build --scan -x test | |
- name: Verify dependencies | |
run: | | |
COUNT=$(./gradlew -q :web:dependencies | grep -c SNAPSHOT || true) | |
echo "Found $COUNT SNAPSHOT dependencies" | |
if [ "$COUNT" -gt 0 ] | |
then | |
>&2 echo ::error No SNAPSHOT dependencies allowed | |
./gradlew -q :web:dependencies | |
exit 1; | |
fi | |
- run: ./gradlew :web:test --tests "*" --stacktrace |