]> 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:06:44 +0000 (16:06 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 16 May 2022 22:06:54 +0000 (16:06 -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>
(cherry picked from commit 887bae0df3c68c73375b822931acc7aff5add87e)

.github/workflows/continuous-integration.yml

index 50ff3fcc7b87b12b464316d33269601b15123fd2..7571be0daae206b079fad5baabfaf52fd9a227d2 100644 (file)
@@ -31,13 +31,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
 
   unittests:
     name: Unit Tests