Skip to content

Commit af6b37a

Browse files
committed
fix: Update IntelliJ Platform 2.3.1
1 parent 662541d commit af6b37a

File tree

1 file changed

+10
-39
lines changed

1 file changed

+10
-39
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
# Check out the current repository
2929
- name: Fetch Sources
3030
uses: actions/checkout@v4
31+
with:
32+
submodules: 'true'
33+
token: ${{ secrets.FETCH_SUBMODULES_PAT }}
3134

3235
# Set up the Java environment for the next steps
3336
- name: Setup Java
@@ -115,44 +118,6 @@ jobs:
115118
files: ${{ github.workspace }}/build/reports/kover/report.xml
116119
token: ${{ secrets.CODECOV_TOKEN }}
117120

118-
# Run Qodana inspections and provide a report
119-
inspectCode:
120-
name: Inspect code
121-
needs: [ build ]
122-
runs-on: ubuntu-latest
123-
permissions:
124-
contents: write
125-
checks: write
126-
pull-requests: write
127-
steps:
128-
129-
# Free GitHub Actions Environment Disk Space
130-
- name: Maximize Build Space
131-
uses: jlumbroso/[email protected]
132-
with:
133-
tool-cache: false
134-
large-packages: false
135-
136-
# Check out the current repository
137-
- name: Fetch Sources
138-
uses: actions/checkout@v4
139-
with:
140-
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
141-
fetch-depth: 0 # a full history is required for pull request analysis
142-
143-
# Set up the Java environment for the next steps
144-
- name: Setup Java
145-
uses: actions/setup-java@v4
146-
with:
147-
distribution: zulu
148-
java-version: 21
149-
150-
# Run Qodana inspections
151-
- name: Qodana - Code Inspection
152-
uses: JetBrains/[email protected]
153-
with:
154-
cache-default-branch-only: true
155-
156121
# Run plugin structure verification along with IntelliJ Plugin Verifier
157122
verify:
158123
name: Verify plugin
@@ -170,6 +135,9 @@ jobs:
170135
# Check out the current repository
171136
- name: Fetch Sources
172137
uses: actions/checkout@v4
138+
with:
139+
submodules: 'true'
140+
token: ${{ secrets.FETCH_SUBMODULES_PAT }}
173141

174142
# Set up the Java environment for the next steps
175143
- name: Setup Java
@@ -201,7 +169,7 @@ jobs:
201169
releaseDraft:
202170
name: Release draft
203171
if: github.event_name != 'pull_request'
204-
needs: [ build, test, inspectCode, verify ]
172+
needs: [ build, test, verify ]
205173
runs-on: ubuntu-latest
206174
permissions:
207175
contents: write
@@ -210,6 +178,9 @@ jobs:
210178
# Check out the current repository
211179
- name: Fetch Sources
212180
uses: actions/checkout@v4
181+
with:
182+
submodules: 'true'
183+
token: ${{ secrets.FETCH_SUBMODULES_PAT }}
213184

214185
# Remove old release drafts by using the curl request for the available releases with a draft flag
215186
- name: Remove Old Release Drafts

0 commit comments

Comments
 (0)