Use new PR workflow

This commit is contained in:
Ryan Baxter
2026-06-01 20:03:41 -04:00
parent 2fe460447a
commit c864598dfe
2 changed files with 9 additions and 31 deletions
-31
View File
@@ -1,31 +0,0 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build
on:
pull_request:
branches: [ main, 4.3.x, 4.2.x ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: ["17"]
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: ./mvnw clean install -B -U -P sonar
- uses: codecov/codecov-action@v6
with:
fail_ci_if_error: false
+9
View File
@@ -0,0 +1,9 @@
name: PR
on:
pull_request:
branches: [ main, 4.3.x, 4.2.x ]
jobs:
build:
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/pr.yml@main