Skip to content

Commit 7bae363

Browse files
committed
chore: add plugin verifier to github actions (#40)
Signed-off-by: Andre Dietisheim <[email protected]>
1 parent 49cb27b commit 7bae363

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/IJ.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,23 @@ jobs:
2727
- name: Build with Gradle
2828
run: ./gradlew build -PideaVersion=${{ matrix.IJ }}
2929

30+
verify:
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout Code
35+
uses: actions/checkout@v2
36+
- name: Set up JDK 11
37+
uses: actions/setup-java@v1
38+
with:
39+
java-version: 11
40+
- name: Grant execute permission for gradlew
41+
run: chmod +x gradlew
42+
- name: Build with Gradle
43+
run: ./gradlew runPluginVerifier -PideaVersion=IC-2021.2
44+
- name: Upload report
45+
uses: actions/upload-artifact@v2
46+
if: always()
47+
with:
48+
name: verifier-report
49+
path: build/reports/pluginVerifier

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ patchPluginXml {
2222
version = projectVersion
2323
}
2424

25+
runPluginVerifier {
26+
ideVersions = [ideaVersion]
27+
}
28+
2529
publishPlugin {
2630
token = jetBrainsToken
2731
channels = [jetBrainsChannel]

0 commit comments

Comments
 (0)