Skip to content

Commit

Permalink
chore: use recommended IDEs when verifying plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Stephane Bouchet <[email protected]>
  • Loading branch information
sbouchet authored and adietish committed Jan 30, 2025
1 parent cfe71a6 commit 0d5ddd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/IJ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
IJ: [2023.1, 2023.2, 2023.3, 2024.1, 2024.2, 2024.3]

steps:
- uses: actions/checkout@v4
Expand All @@ -27,9 +24,12 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -PplatformVersion=${{ matrix.IJ }}
run: ./gradlew build
- name: Validate with Gradle
run: ./gradlew verifyPlugin -PplatformVersion=${{ matrix.IJ }}
run: |
./gradlew verifyPlugin
REPORTS=$(cat ${{ github.workspace }}/build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
- name: Upload report
uses: actions/upload-artifact@v4
if: always()
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ build
.gradle
out

/.intellijPlatform/
/.intellijPlatform/
/.kotlin/
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ intellijPlatform {

pluginVerification {
ides {
ide(IntelliJPlatformType.IntellijIdeaUltimate, ideaVersion)
recommended()
}
freeArgs = listOf(
"-mute",
Expand Down

0 comments on commit 0d5ddd9

Please sign in to comment.