From 515f3833202c7cbfc58257fb0e6207519536b47d Mon Sep 17 00:00:00 2001 From: Yann Date: Sun, 12 Nov 2023 17:05:23 +0100 Subject: [PATCH] ci: verify platform compatibility (#1) --- .github/workflows/compatibility.yml | 36 +++++++++++++++++++++++++++++ gradlew | 0 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/compatibility.yml mode change 100644 => 100755 gradlew diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml new file mode 100644 index 0000000..0c167f3 --- /dev/null +++ b/.github/workflows/compatibility.yml @@ -0,0 +1,36 @@ +name: IntelliJ Platform Plugin Compatibility + +on: + push: + +jobs: + compatibility: + name: Ensure plugin compatibility against 2023.2 for IDEA Community, IDEA Ultimate, and the latest EAP snapshot of IDEA Community. + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v1 + + - name: Setup Java 17 + uses: actions/setup-java@v1 + with: + java-version: 17 + + - name: Build the plugin using Gradle + run: ./gradlew buildPlugin + + - name: Verify Plugin on IntelliJ Platforms + id: verify + uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + ide-versions: | + ideaIC:2023.2 + ideaIU:2023.2 + ideaIC:LATEST-EAP-SNAPSHOT + + - name: Get log file path and print contents + run: | + echo "The verifier log file [${{steps.verify.outputs.verification-output-log-filename}}] contents : " ; + cat ${{steps.verify.outputs.verification-output-log-filename}} \ No newline at end of file diff --git a/gradlew b/gradlew old mode 100644 new mode 100755