From 9e4b2d7da78d02240befe004a905a37c8d365b54 Mon Sep 17 00:00:00 2001 From: VOID404 Date: Tue, 13 Aug 2024 09:51:26 +0200 Subject: [PATCH] Fix patterns and trivy --- .github/workflows/compass-manager.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/compass-manager.yaml b/.github/workflows/compass-manager.yaml index 48274c8..f6dfff4 100644 --- a/.github/workflows/compass-manager.yaml +++ b/.github/workflows/compass-manager.yaml @@ -47,9 +47,9 @@ jobs: with: files_yaml: | code: - - **.go - - go.mod - - go.sum + - ./**.go + - ./go.mod + - ./go.sum unit-tests: permissions: @@ -81,12 +81,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - - name: Install trivy - run: | - mkdir /trivy - curl -L https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz | tar xvz --directory=/trivy - /trivy/trivy --version - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.24.0