Skip to content

Add simple WAR test that does not use Spring #193

Add simple WAR test that does not use Spring

Add simple WAR test that does not use Spring #193

Workflow file for this run

name: war
"on":
merge_group:
pull_request:
paths:
- java/war/**
push:
branches:
- main
paths:
- java/war/**
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17, 21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: "zulu"
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('java/war/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- run: ./gradlew build
working-directory: java/war