]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: CodeQL Action v3 update
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 24 Sep 2024 00:07:29 +0000 (17:07 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 00:07:29 +0000 (17:07 -0700)
Switch from v2 to v3 CodeQL Actions.  The v2 actions will no longer
be supported as of Dec '24 so we need to move to v3.  According to
the release notes they should be functionally equivalent.

    Note that the only difference between v2 and v3 of the CodeQL
    Action is the node version they support, ... For example 3.22.11
    was the first v3 release and is functionally identical to 2.22.11.

https://github.com/github/codeql-action/blob/main/CHANGELOG.md

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16560

.github/workflows/codeql.yml

index e015b2cb71d99609a192f0013585d7a7412e6da2..f70f6bf86ea8d42c220401eedd44918f3766d2c6 100644 (file)
@@ -27,15 +27,15 @@ jobs:
       uses: actions/checkout@v4
 
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v2
+      uses: github/codeql-action/init@v3
       with:
         config-file: .github/codeql-${{ matrix.language }}.yml
         languages: ${{ matrix.language }}
 
     - name: Autobuild
-      uses: github/codeql-action/autobuild@v2
+      uses: github/codeql-action/autobuild@v3
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v2
+      uses: github/codeql-action/analyze@v3
       with:
         category: "/language:${{matrix.language}}"