Upgrade Actions in CodeQL analysis workflow (#22)

This brings the actions to the latest major version (v2 -> v4, v1 -> v3). And, in the cases of the CodeQL actions, I'm pretty sure v1 has been deprecated.
This commit is contained in:
Mario Campos 2024-08-21 02:34:03 -05:00 • committed by GitHub
parent c2664c6521
commit e6b8c4c8a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,11 +39,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@ -54,7 +54,7 @@ jobs:
# 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@v3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@ -68,4 +68,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3