Upgrade CodeQL workflow to v2 due to GitHub deprecation.

This commit is contained in:
Nathan Moinvaziri 2023-04-17 14:25:34 -07:00
parent 1b6ef9f25d
commit 30dbab74d9

View File

@ -24,12 +24,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2