Skip to content

Commit

Permalink
Using maven
Browse files Browse the repository at this point in the history
  • Loading branch information
gilseara authored Jan 9, 2023
1 parent 28bf0a5 commit 8c13fcc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@ on: [push, pull_request]
jobs:
vulnerabilities-scan:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '13'
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: |
mvn dependency:tree \
-DoutputFile=.debricked-maven-dependencies.tgf \
-DoutputType=tgf
- uses: debricked/actions/scan@v1
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}

0 comments on commit 8c13fcc

Please sign in to comment.