From 6fa9787fda8c8d4bc5e9869809479c0c1db677b9 Mon Sep 17 00:00:00 2001 From: Roni Dover Date: Mon, 15 Apr 2024 00:44:44 -0700 Subject: [PATCH] fixed --- .github/workflows/maven-build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index b9f2d3cb5..44e8d86fd 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -26,12 +26,20 @@ jobs: distribution: 'adopt' cache: maven - name: Instrument app - uses: digma-ai/digma-java-instrumentation-action@v1.0.2 + uses: digma-ai/digma-actions/instrument@v1.0.4 with: # Assuming the action expects these inputs: collector_url: 'https://collector.meloona01.digma.systems' service_name: 'spring-petclinic' environment: 'PETCLINIC_CI' - - name: Build with Maven Wrapper + - name: Run Tests run: mvn '-Dtest=org.springframework.samples.petclinic.integration.*Tests' test + + - name: Validate no issues + uses: digma-ai/digma-actions/assert-no-issues@v1.0.4 + with: + # Assuming the action expects these inputs: + collector_url: 'https://collector.meloona01.digma.systems' + api_token: ${{ secrets.DIGMA_TOKEN }} + environment: 'PETCLINIC_CI'