Skip to content

Commit

Permalink
Update scan-simples.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BatistaGabriel authored Apr 27, 2024
1 parent fa2bdc4 commit 4cb1904
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/scan-simples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: |
npm install
exit_code=$?
if [ $exit_code -ne 0 ]; then
echo "npm install falhou com código de saída $exit_code"
exit $exit_code
fi
- name: Trivy Scan
uses: aquasecurity/trivy-action@master
with:
Expand Down

0 comments on commit 4cb1904

Please sign in to comment.