When a CodeQL workflow uses a language matrix, the autobuild step attempts to build each compiled language listed in that matrix. This differs from a workflow without a language matrix, where autobuild attempts to build the supported compiled language with the greatest number of source files in the repository. A matrix is therefore useful when a repository contains multiple languages that require separate CodeQL analysis jobs. GitHub's current CodeQL build documentation explicitly describes this matrix behavior. The analysis may use newer build modes such as none for some compiled languages, depending on language and configuration, but when the workflow specifically uses autobuild with a language matrix, each compiled language represented by that matrix is processed independently. Therefore, option D correctly describes the behavior.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit