From 537eff9cdf0de2f88d43afffe59342f9ab1b60b4 Mon Sep 17 00:00:00 2001 From: Gabriel Batista Date: Sat, 27 Apr 2024 13:39:45 -0300 Subject: [PATCH] Update scan-simples.yml --- .github/workflows/scan-simples.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scan-simples.yml b/.github/workflows/scan-simples.yml index 09b27a4..6ded057 100644 --- a/.github/workflows/scan-simples.yml +++ b/.github/workflows/scan-simples.yml @@ -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