Bump codeql actions to v3

v2 is deprecated in github actions.  Fixes warnings in codeql analysis.
This commit is contained in:
Richard E Barber 2024-05-19 05:12:07 -07:00 committed by GitHub
parent e316e872f3
commit 422a11866a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ jobs:
steps: steps:
- name: Checkout source - name: Checkout source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
@ -77,7 +77,7 @@ jobs:
echo "REF_NAME_FILTERED=$REF_NAME_FILTERED" >> $GITHUB_ENV echo "REF_NAME_FILTERED=$REF_NAME_FILTERED" >> $GITHUB_ENV
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v3
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
@ -90,6 +90,6 @@ jobs:
mv AppDir/usr/bin/share AppDir/usr/ mv AppDir/usr/bin/share AppDir/usr/
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v3
with: with:
category: "/language:${{matrix.language}}" category: "/language:${{matrix.language}}"