Move CI to GitHub Actions

This commit is contained in:
Stéphane Nicoll
2025-03-14 11:00:38 +01:00
parent 5162c65d47
commit b736edd5f6
7 changed files with 83 additions and 133 deletions

View File

@@ -0,0 +1,22 @@
name: Build Pull Request
on: pull_request
permissions:
contents: read
jobs:
build:
name: Build pull request
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-ws-samples' }}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
cache: 'maven'
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots verify