CodeQL warns about deprecating v1 by Dec 2022. Upgrade the CodeQL
actions, as per the recommendation made in the upgrade guide at:
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit
887bae0df3c68c73375b822931acc7aff5add87e)
- uses: actions/checkout@v2
with:
submodules: false
- - uses: github/codeql-action/init@v1
+ - uses: github/codeql-action/init@v2
with:
languages: cpp, python
- name: Initialize the directory
uses: ./.github/actions/setup-libcgroup
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
unittests:
name: Unit Tests