[CodeQL] Added debug flag and increased heap size to 8gb (#210369)

## Summary

Added debug flag for CodeQL and increased heap size to 8gb.
This commit is contained in:
Elena Shostak 2025-02-10 15:07:18 +01:00 committed by GitHub
parent 9bc9643e80
commit 007b6e7985
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,7 @@ jobs:
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
debug: ${{ matrix.branch != '7.17' }}
# TODO: Possibly required to follow all call paths, however, when enabled, the step below runs out of memory.
# Possible workarounds: Apply for access to the GitHub beta where we can use beefier machines, or run it ourselves on Buildkite
@ -53,7 +54,7 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
env:
NODE_OPTIONS: "--max-old-space-size=6144"
NODE_OPTIONS: "--max-old-space-size=8192"
CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES: ${{ env.CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES }}
with:
category: "/language:${{matrix.language}}"