From 125e56f3ceb186cea053dde9f9d5ed694680375c Mon Sep 17 00:00:00 2001 From: mike-neck Date: Sat, 9 Aug 2025 23:35:45 +0900 Subject: [PATCH 1/3] Upgraded GitHub Actions versions and switched to Java 21 in workflows. --- .github/workflows/build.yml | 24 ++++++++++++------------ .github/workflows/run-ui-tests.yml | 14 +++++++------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6dc312..0c2ff8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,20 +40,20 @@ jobs: sudo rm -rf /usr/local/lib/android sudo rm -rf /opt/ghc - # Check out current repository + # Check out the current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Validate wrapper - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v1.0.6 + uses: gradle/actions/wrapper-validation@v4 - # Setup Java 11 environment for the next steps + # Set up the Java 21 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu - java-version: 11 + java-version: '21' # Set environment variables - name: Export Properties @@ -77,20 +77,20 @@ jobs: # Collect Tests Result of failed tests - name: Collect Tests Result if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tests-result path: ${{ github.workspace }}/build/reports/tests # Upload Kover report to CodeCov - name: Upload Code Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: files: ${{ github.workspace }}/build/reports/kover/xml/report.xml # Cache Plugin Verifier IDEs - name: Setup Plugin Verifier IDEs Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }} @@ -102,7 +102,7 @@ jobs: # Collect Plugin Verifier Result - name: Collect Plugin Verifier Result if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pluginVerifier-result path: ${{ github.workspace }}/build/reports/pluginVerifier @@ -118,9 +118,9 @@ jobs: echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT - # Store already-built plugin as an artifact for downloading + # Store an already-built plugin as an artifact for downloading - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.artifact.outputs.filename }} path: ./build/distributions/content/*/* diff --git a/.github/workflows/run-ui-tests.yml b/.github/workflows/run-ui-tests.yml index 363d9e8..b132451 100644 --- a/.github/workflows/run-ui-tests.yml +++ b/.github/workflows/run-ui-tests.yml @@ -1,7 +1,7 @@ # GitHub Actions Workflow for launching UI tests on Linux, Windows, and Mac in the following steps: # - prepare and launch IDE with your plugin and robot-server plugin, which is needed to interact with UI # - wait for IDE to start -# - run UI tests with separate Gradle task +# - run UI tests with separated Gradle tasks # # Please check https://github.com/JetBrains/intellij-ui-test-robot for information about UI tests with IntelliJ Platform # @@ -31,16 +31,16 @@ jobs: steps: - # Check out current repository + # Check out the current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - # Setup Java 11 environment for the next steps + # Set up the Java 21 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu - java-version: 11 + java-version: '21' # Run IDEA prepared for UI testing - name: Run IDE @@ -48,7 +48,7 @@ jobs: # Wait for IDEA to be started - name: Health Check - uses: jtalk/url-health-check-action@v3 + uses: jtalk/url-health-check-action@v4 with: url: http://127.0.0.1:8082 max-attempts: 15 From ea6d7caab9834f5345ecee01c23ae4c3518d9c89 Mon Sep 17 00:00:00 2001 From: mike-neck Date: Sun, 10 Aug 2025 00:24:08 +0900 Subject: [PATCH 2/3] Updated Gradle task from `listProductsReleases` to `printProductsReleases` in the Build workflow. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c2ff8e..a950d60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,7 @@ jobs: echo "name=$NAME" >> $GITHUB_OUTPUT echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT - ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier + ./gradlew printProductsReleases # prepare list of IDEs for Plugin Verifier # Run tests - name: Run Tests From ab2e4751e3f7deb4e0d6b535c94b1d1850bb2f3a Mon Sep 17 00:00:00 2001 From: mike-neck Date: Sun, 10 Aug 2025 08:12:05 +0900 Subject: [PATCH 3/3] Updated Build workflow to replace the `runPluginVerifier` task with the existing `verifyPlugin`. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a950d60..868cca9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,7 +97,7 @@ jobs: # Run Verify Plugin task and IntelliJ Plugin Verifier tool - name: Run Plugin Verification tasks - run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }} + run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }} # Collect Plugin Verifier Result - name: Collect Plugin Verifier Result