Skip to content

Commit bf44b0c

Browse files
committed
feat: add dependency check step on failure
Signed-off-by: Chris Laprun <[email protected]>
1 parent 6578261 commit bf44b0c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build-for-quarkus-version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ jobs:
172172
- name: Build with Maven (JVM)
173173
run: mvn -B formatter:validate install -P'${{steps.set-mvn-profiles.outputs.maven_profiles}}' --file pom.xml
174174

175+
- name: Dependency tree on failure
176+
if: failure()
177+
run: mvn -B dependency:tree -Dverbose
178+
175179
- name: Kubernetes KinD Cluster
176180
uses: container-tools/kind-action@v2
177181
with:

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
3939
<snapshots>
4040
<enabled>true</enabled>
41+
<updatePolicy>never</updatePolicy>
4142
</snapshots>
4243
</repository>
4344

@@ -47,6 +48,7 @@
4748
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
4849
<snapshots>
4950
<enabled>true</enabled>
51+
<updatePolicy>never</updatePolicy>
5052
</snapshots>
5153
</repository>
5254
</repositories>

0 commit comments

Comments
 (0)