Skip to content

Commit

Permalink
Mirror main workflow to pull request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Feb 5, 2024
1 parent ca5c0af commit c95d067
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-io/start.spring.io' }}
steps:
- name: Check out
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: ./mvnw clean verify
cache: 'maven'

- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots verify

- name: Run metadata verification tests
run: ./mvnw -Pverification verify
run: ./mvnw --batch-mode --update-snapshots -Pverification verify

0 comments on commit c95d067

Please sign in to comment.