@@ -27,18 +27,18 @@ jobs:
2727
2828 # Check out the current repository
2929 - name : Fetch Sources
30- uses : actions/checkout@v4
30+ uses : actions/checkout@v5
3131
3232 # Set up the Java environment for the next steps
3333 - name : Setup Java
34- uses : actions/setup-java@v4
34+ uses : actions/setup-java@v5
3535 with :
3636 distribution : zulu
3737 java-version : 21
3838
3939 # Setup Gradle
4040 - name : Setup Gradle
41- uses : gradle/actions/setup-gradle@v4
41+ uses : gradle/actions/setup-gradle@v5
4242
4343 # Build plugin
4444 - name : Build plugin
@@ -68,18 +68,18 @@ jobs:
6868
6969 # Check out the current repository
7070 - name : Fetch Sources
71- uses : actions/checkout@v4
71+ uses : actions/checkout@v5
7272
7373 # Set up the Java environment for the next steps
7474 - name : Setup Java
75- uses : actions/setup-java@v4
75+ uses : actions/setup-java@v5
7676 with :
7777 distribution : zulu
7878 java-version : 21
7979
8080 # Setup Gradle
8181 - name : Setup Gradle
82- uses : gradle/actions/setup-gradle@v4
82+ uses : gradle/actions/setup-gradle@v5
8383 with :
8484 cache-read-only : true
8585
@@ -90,56 +90,56 @@ jobs:
9090 # Collect Tests Result of failed tests
9191 - name : Collect Tests Result
9292 if : ${{ failure() }}
93- uses : actions/upload-artifact@v4
93+ uses : actions/upload-artifact@v5
9494 with :
9595 name : tests-result-${{ matrix.os }}
9696 path : ${{ github.workspace }}/build/reports/tests
9797
9898 # Run Qodana inspections and provide a report
9999 inspectCode :
100- name : Inspect code
101- needs : [ build ]
102- runs-on : ubuntu-latest
103- if : github.event_name == 'pull_request'
104-
105- permissions :
106- contents : write
107- checks : write
108- pull-requests : write
109- steps :
110-
111- # Free GitHub Actions Environment Disk Space
112- - name : Maximize Build Space
113- uses : jlumbroso/free-disk-space@v1.3.1
114- with :
115- tool-cache : false
116- large-packages : false
117-
118- # Check out the current repository
119- - name : Fetch Sources
120- uses : actions/checkout@v4
121- with :
122- ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
123- fetch-depth : 0 # a full history is required for pull request analysis
124-
125- # Set up the Java environment for the next steps
126- - name : Setup Java
127- uses : actions/setup-java@v4
128- with :
129- distribution : zulu
130- java-version : 21
131-
132- # Run Qodana inspections
133- - name : Qodana - Code Inspection
134- uses : JetBrains/qodana-action@v2025.1.1
135- with :
136- args : --baseline,./.qodana/baseline.sarif.json
137- cache-default-branch-only : true
138-
139- - name : Qodana - Publish Results
140- uses : github/codeql-action/upload-sarif@v3
141- with :
142- sarif_file : ${{ runner.temp }}/qodana/results/qodana.sarif.json
100+ name : Inspect code
101+ needs : [ build ]
102+ runs-on : ubuntu-latest
103+ if : github.event_name == 'pull_request'
104+
105+ permissions :
106+ contents : write
107+ checks : write
108+ pull-requests : write
109+ steps :
110+
111+ # Free GitHub Actions Environment Disk Space
112+ - name : Maximize Build Space
113+ uses : jlumbroso/free-disk-space@v1.3.1
114+ with :
115+ tool-cache : false
116+ large-packages : false
117+
118+ # Check out the current repository
119+ - name : Fetch Sources
120+ uses : actions/checkout@v5
121+ with :
122+ ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
123+ fetch-depth : 0 # a full history is required for pull request analysis
124+
125+ # Set up the Java environment for the next steps
126+ - name : Setup Java
127+ uses : actions/setup-java@v5
128+ with :
129+ distribution : zulu
130+ java-version : 21
131+
132+ # Run Qodana inspections
133+ - name : Qodana - Code Inspection
134+ uses : JetBrains/qodana-action@v2025.1.1
135+ with :
136+ args : --baseline,./.qodana/baseline.sarif.json
137+ cache-default-branch-only : true
138+
139+ - name : Qodana - Publish Results
140+ uses : github/codeql-action/upload-sarif@v3
141+ with :
142+ sarif_file : ${{ runner.temp }}/qodana/results/qodana.sarif.json
143143
144144 # Run plugin structure verification along with IntelliJ Plugin Verifier
145145 verify :
@@ -157,18 +157,18 @@ jobs:
157157
158158 # Check out the current repository
159159 - name : Fetch Sources
160- uses : actions/checkout@v4
160+ uses : actions/checkout@v5
161161
162162 # Set up the Java environment for the next steps
163163 - name : Setup Java
164- uses : actions/setup-java@v4
164+ uses : actions/setup-java@v5
165165 with :
166166 distribution : zulu
167167 java-version : 21
168168
169169 # Setup Gradle
170170 - name : Setup Gradle
171- uses : gradle/actions/setup-gradle@v4
171+ uses : gradle/actions/setup-gradle@v5
172172 with :
173173 cache-read-only : true
174174
@@ -179,7 +179,7 @@ jobs:
179179 # Collect Plugin Verifier Result
180180 - name : Collect Plugin Verifier Result
181181 if : ${{ always() }}
182- uses : actions/upload-artifact@v4
182+ uses : actions/upload-artifact@v5
183183 with :
184184 name : pluginVerifier-result
185185 path : ${{ github.workspace }}/build/reports/pluginVerifier
0 commit comments