mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
.github/workflows/codescan.yml: use codeql-action v3
Version 2 was deprecated in January, 2024 after the release of v3. See: https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
This commit is contained in:
6
.github/workflows/codescan.yml
vendored
6
.github/workflows/codescan.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
# https://github.com/github/codeql-action
|
# https://github.com/github/codeql-action
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
# Codescan Javascript as well since a few JS files exist in REST API's interface
|
# Codescan Javascript as well since a few JS files exist in REST API's interface
|
||||||
languages: java, javascript
|
languages: java, javascript
|
||||||
@@ -56,8 +56,8 @@ jobs:
|
|||||||
# NOTE: Based on testing, this autobuild process works well for DSpace. A custom
|
# NOTE: Based on testing, this autobuild process works well for DSpace. A custom
|
||||||
# DSpace build w/caching (like in build.yml) was about the same speed as autobuild.
|
# DSpace build w/caching (like in build.yml) was about the same speed as autobuild.
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@v2
|
uses: github/codeql-action/autobuild@v3
|
||||||
|
|
||||||
# Perform GitHub Code Scanning.
|
# Perform GitHub Code Scanning.
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
|
Reference in New Issue
Block a user