Skip to content

Commit 1097a24

Browse files
committed
Bump checkout action to v4 and codeql actions to v3
1 parent e9c07fa commit 1097a24

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@v2
53+
uses: github/codeql-action/init@v3
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -64,7 +64,7 @@ jobs:
6464
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6565
# If this step fails, then you should remove it and run the build manually (see below)
6666
- name: Autobuild
67-
uses: github/codeql-action/autobuild@v2
67+
uses: github/codeql-action/autobuild@v3
6868

6969
# ℹ️ Command-line programs to run using the OS shell.
7070
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -77,6 +77,6 @@ jobs:
7777
# ./location_of_script_within_repo/buildscript.sh
7878

7979
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v2
80+
uses: github/codeql-action/analyze@v3
8181
with:
8282
category: "/language:${{matrix.language}}"

.github/workflows/owasp.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- run: |
1919
mvn -DskipTests install -P OWASP_CHECK
2020
2121
- name: Upload SARIF file
22-
uses: github/codeql-action/upload-sarif@v2
22+
uses: github/codeql-action/upload-sarif@v3
2323
with:
2424
# Path to SARIF file relative to the root of the repository
2525
sarif_file: target/dependency-check-report.sarif
2626
# Optional category for the results
2727
# Used to differentiate multiple results for one commit
2828

29-
category: OWASP-dependency-check
29+
category: OWASP-dependency-check

.github/workflows/trivy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Run static analysis
2020
uses: aquasecurity/trivy-action@master
@@ -29,7 +29,7 @@ jobs:
2929

3030

3131
- name: Upload Trivy scan results to GitHub Security tab
32-
uses: github/codeql-action/upload-sarif@v2
32+
uses: github/codeql-action/upload-sarif@v3
3333
with:
3434
sarif_file: 'trivy-results.sarif'
3535
category: 'code'

0 commit comments

Comments
 (0)