Apply spotless to groovy #204
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: PR build Servlet images for smoke tests | |
on: | |
pull_request: | |
paths: | |
- "smoke-tests/images/servlet/**" | |
- ".github/workflows/pr-smoke-test-servlet-images.yml" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
- ubuntu-latest | |
smoke-test-server: | |
- jetty | |
- liberty | |
- payara | |
- tomcat | |
- tomee | |
- websphere | |
- wildfly | |
exclude: | |
- os: windows-latest | |
smoke-test-server: websphere | |
fail-fast: false | |
steps: | |
- name: Support long paths | |
run: git config --system core.longpaths true | |
if: matrix.os == 'windows-latest' | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Free disk space | |
run: .github/scripts/gha-free-disk-space.sh | |
- name: Set up JDK for running Gradle | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 | |
with: | |
distribution: temurin | |
java-version-file: .java-version | |
- name: Set up Gradle cache | |
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 | |
with: | |
cache-read-only: true | |
- name: Build Linux docker images | |
if: matrix.os != 'windows-latest' | |
run: ./gradlew :smoke-tests:images:servlet:buildLinuxTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }} | |
- name: Build Windows docker images | |
if: matrix.os == 'windows-latest' | |
run: ./gradlew :smoke-tests:images:servlet:buildWindowsTestImages -PsmokeTestServer=${{ matrix.smoke-test-server }} |