@@ -16,28 +16,23 @@ jobs:
1616
1717 steps :
1818 - name : Checkout repository
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v6
2020 with :
2121 # We must fetch at least the immediate parents so that if this is
2222 # a pull request then we can checkout the head.
2323 fetch-depth : 2
2424
25- # If this run was triggered by a pull request event, then checkout
26- # the head of the pull request instead of the merge commit.
27- - run : git checkout HEAD^2
28- if : ${{ github.event_name == 'pull_request' }}
29-
3025 # Initializes the CodeQL tools for scanning.
3126 - name : Initialize CodeQL
32- uses : github/codeql-action/init@v3
27+ uses : github/codeql-action/init@v4
3328 # Override language selection by uncommenting this and choosing your languages
3429 with :
3530 languages : java
3631
3732 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3833 # If this step fails, then you should remove it and run the build manually (see below)
3934 - name : Autobuild
40- uses : github/codeql-action/autobuild@v3
35+ uses : github/codeql-action/autobuild@v4
4136
4237 # ℹ️ Command-line programs to run using the OS shell.
4338 # 📚 https://git.io/JvXDl
5146 # make release
5247
5348 - name : Perform CodeQL Analysis
54- uses : github/codeql-action/analyze@v3
49+ uses : github/codeql-action/analyze@v4
0 commit comments