Skip to content

Commit

Permalink
Extract go code for CodeQL analysis (#99)
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri authored Jun 25, 2024
1 parent d6f3aca commit 3501e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
- "go.mod"
- "**.go"
- ".github/workflows/**"
- "!.github/workflows/codeql.yml"
- ".golangci.yml"
branches: [main]
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
make build
echo 'Building cgo binaries'
CGO_BUILD=1 make build
# Run extractor
"${CODEQL_EXTRACTOR_GO_ROOT}/tools/linux64/go-extractor" ./...
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit 3501e0b

Please sign in to comment.