cFS icon indicating copy to clipboard operation
cFS copied to clipboard

Update CodeQL to v3

Open arielswalker opened this issue 1 year ago • 0 comments

Checklist (Please check before submitting)

  • [x] I reviewed the Contributing Guide.
  • [x] I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug CodeQL v2 will be deprecated December 2024.

Expected behavior Update workflows to use v3.

Code snips https://github.com/nasa/cFS/blob/f9dc33a16dd3f26b4bf7c54cf9a8d4e190aa5db7/.github/workflows/codeql-reusable.yml#L119 https://github.com/nasa/cFS/blob/f9dc33a16dd3f26b4bf7c54cf9a8d4e190aa5db7/.github/workflows/codeql-reusable.yml#L129 https://github.com/nasa/cFS/blob/f9dc33a16dd3f26b4bf7c54cf9a8d4e190aa5db7/.github/workflows/static-analysis.yml#L107 https://github.com/nasa/cFS/blob/f9dc33a16dd3f26b4bf7c54cf9a8d4e190aa5db7/.github/workflows/static-analysis-misra.yml#L120

Additional context In December 2024, CodeQL Action v2 will be officially deprecated (at the same time as the GHES 3.11 deprecation). At that point, no new updates will be made to CodeQL Action v2, which means that new CodeQL analysis capabilities will only be available to users of CodeQL Action v3.

Submodules do not need to update their workflows since they all use https://github.com/nasa/cFS/blob/main/.github/workflows/codeql-reusable.yml.

Reporter Info Ariel Walker, MCSG Tech.

arielswalker avatar Apr 24 '24 15:04 arielswalker