diff --git a/.github/workflows/samples-compilation b/.github/workflows/samples-compilation.yaml similarity index 68% rename from .github/workflows/samples-compilation rename to .github/workflows/samples-compilation.yaml index b9ea577f..50322bac 100644 --- a/.github/workflows/samples-compilation +++ b/.github/workflows/samples-compilation.yaml @@ -1,4 +1,4 @@ -name: Java CI with Maven +name: Samples Compilation on: [push] @@ -15,10 +15,12 @@ jobs: java-version: '21' distribution: 'temurin' cache: maven - - name: Build Services samples with Maven - run: cd sample-app; mvn -B clean package - - name: Build Webhooks samples with Maven - run: cd sample-app; mvn -B -f pom-webhooks.xml clean package + - name: Building + run: | + mvn clean verify install -DskipTests=true -Dspotless.apply.skip=true + cd sample-app + mvn -B clean package + mvn -B -f pom-webhooks.xml clean package # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6