Code scanning with CodeQL supports Swift 5.9
Summary
The CodeQL analysis engine for GitHub code scanning will be able to analyze projects built with Swift 5.9.
Intended Outcome
Currently, CodeQL supports Swift language features up to and including Swift 5.8.1. Swift version 5.9 is due to be released before the end of 2023. Adding support to CodeQL will allow users of Swift 5.9 to benefit from CodeQL's comprehensive security analysis.
How will it work?
If a project contains code that uses Swift 5.9 language features, CodeQL will be able to scan the code. As soon as the analysis is finished, the CodeQL results will become visible to you in the "Security" tab and on pull requests. Swift 5.9 support will also be available through the CodeQL CLI and CodeQL VS Code extension.
🚢 This has shipped and will be part of GHES 3.12: https://github.blog/changelog/2023-11-22-codeql-2-15-3-supports-swift-5-9-improves-c-analysis-speed/
🚢 CodeQL 2.15.5 has shipped with GHES 3.12: https://docs.github.com/en/[email protected]/admin/release-notes
Closing as complete!