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 4cb1904 commit 537eff9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/scan-simples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Navigate to project directory
run: cd pisc-2024/day-1

- 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
run: npm install

- name: Trivy Scan
uses: aquasecurity/trivy-action@master
Expand Down

0 comments on commit 537eff9

Please sign in to comment.