diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1d801de6..f1629c82 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,58 +25,20 @@ jobs: distribution: 'corretto' java-version: 21 - - name: Setup Gradle and dependencies - uses: gradle/actions/setup-gradle@v3 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 with: - gradle-version: wrapper + # with `true`, caches will only be created in `master` branch, and PRs will run read-only cache-read-only: false - arguments: ":resolveDependencies -Pkotlin.incremental=false --no-daemon" - gradle-home-cache-cleanup: true - gradle-home-cache-excludes: | - caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm - caches/modules-2/files-2.1/com.jetbrains.intellij.idea - caches/modules-2/files-2.1/com.jetbrains.intellij.clion - name: Build - uses: gradle/actions/setup-gradle@v3 - with: - gradle-version: wrapper - arguments: "assemble testClasses -Pkotlin.incremental=false --no-daemon --stacktrace" - gradle-home-cache-cleanup: true - gradle-home-cache-excludes: | - caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm - caches/modules-2/files-2.1/com.jetbrains.intellij.idea - caches/modules-2/files-2.1/com.jetbrains.intellij.clion + run: ./gradlew assemble --stacktrace -Pkotlin.incremental=false - name: Tests - uses: gradle/actions/setup-gradle@v3 - with: - gradle-version: wrapper - arguments: ":test -Pkotlin.incremental=false --no-daemon --stacktrace" - gradle-home-cache-cleanup: true - gradle-home-cache-excludes: | - caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm - caches/modules-2/files-2.1/com.jetbrains.intellij.idea - caches/modules-2/files-2.1/com.jetbrains.intellij.clion + run: ./gradlew test --stacktrace -Pkotlin.incremental=false - name: Verify plugin.xml - uses: gradle/actions/setup-gradle@v3 - with: - gradle-version: wrapper - arguments: ":verifyPluginConfiguration -Pkotlin.incremental=false --no-daemon" - gradle-home-cache-cleanup: true - gradle-home-cache-excludes: | - caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm - caches/modules-2/files-2.1/com.jetbrains.intellij.idea - caches/modules-2/files-2.1/com.jetbrains.intellij.clion + run: ./gradlew verifyPluginConfiguration - name: Verify plugin - uses: gradle/actions/setup-gradle@v3 - with: - gradle-version: wrapper - arguments: ":verifyPlugin -Pkotlin.incremental=false --no-daemon" - gradle-home-cache-cleanup: true - gradle-home-cache-excludes: | - caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm - caches/modules-2/files-2.1/com.jetbrains.intellij.idea - caches/modules-2/files-2.1/com.jetbrains.intellij.clion + run: ./gradlew verifyPlugin diff --git a/gradle-243-SNAPSHOT.properties b/gradle-243-SNAPSHOT.properties index 0c00aea3..e53cf7a7 100644 --- a/gradle-243-SNAPSHOT.properties +++ b/gradle-243-SNAPSHOT.properties @@ -5,7 +5,7 @@ pluginUntilBuild = 243.* # IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties platformType = IC -platformVersion = 243.21155-EAP-CANDIDATE-SNAPSHOT +platformVersion = 243.21565-EAP-CANDIDATE-SNAPSHOT # Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html # Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22