Skip to content

Commit

Permalink
Fix patterns and trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Aug 13, 2024
1 parent b69cf35 commit 9e4b2d7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/compass-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
with:
files_yaml: |
code:
- **.go
- go.mod
- go.sum
- ./**.go
- ./go.mod
- ./go.sum
unit-tests:
permissions:
Expand Down Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit 9e4b2d7

Please sign in to comment.