Skip to content

Commit

Permalink
Add Trivy scanning to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Santosh Kaluskar <ksantosh@intelops.dev>
  • Loading branch information
santoshkal committed Jan 11, 2024
1 parent 6de109a commit 74e6f19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
pull_request:

permissions:
contents: read
contents: write
security-events: write
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read

Expand All @@ -20,7 +21,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
cache: falsegithub/codeql-action/upload-sarif@v2
- name: Run tests
run: go test ./... -coverprofile=coverage.out -coverpkg=./... -covermode=atomic
- name: golangci-lint
Expand Down

0 comments on commit 74e6f19

Please sign in to comment.