ThomasVitale / cloud-native-spring-in-action

🍃 Code samples and projects from the book "Cloud Native Spring in Action - With Spring Boot and Kubernetes" (Manning)
https://www.manning.com/books/cloud-native-spring-in-action
Apache License 2.0
426 stars 257 forks source link

Run source scan after build #40

Closed ThomasVitale closed 1 year ago

ThomasVitale commented 1 year ago

Grype can only scan a Java application source code if all the dependencies have already been fetched and available as JAR files. In the "commit-stage.yml" workflow, we need to fix the sequence of actions so that we build the app first and scan the source code afterwards.

Fixes gh-38