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