diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d60a8b2a..c3bb5973 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,7 @@ on: - "go.mod" - "**.go" - ".github/workflows/**" + - "!.github/workflows/codeql.yml" - ".golangci.yml" branches: [main] pull_request: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7001ab97..e0faabad 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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