]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
workflows/CI: upgrade CodeQL actions used to v2
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 16 May 2022 22:05:39 +0000 (16:05 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 16 May 2022 22:05:43 +0000 (16:05 -0600)
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>
.github/workflows/continuous-integration.yml

index a2595212be12e32298a7d2788fb6cea693508cfb..0d5c77ce134c59c787fdb5db2c6def6d98b3a32a 100644 (file)
@@ -42,13 +42,13 @@ jobs:
     - 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
 
   doxygen:
     name: Doxygen