From a82d9d01c68ff19ecffa5a26579686b46467e034 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2026 16:53:37 +0200 Subject: [PATCH] Remove Qodana configuration, dependencies, and related workflow steps. --- .github/workflows/build.yml | 41 +------------------------------------ .gitignore | 1 - CHANGELOG.md | 1 + build.gradle.kts | 1 - gradle/libs.versions.toml | 2 -- qodana.yml | 12 ----------- 6 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 qodana.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6eece31..8ea5e36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,6 @@ # GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps: # - Validate Gradle Wrapper. # - Run 'test' and 'verifyPlugin' tasks. -# - Run Qodana inspections. # - Run the 'buildPlugin' task and prepare artifact for further tests. # - Run the 'runPluginVerifier' task. # - Create a draft release. @@ -126,44 +125,6 @@ jobs: files: ${{ github.workspace }}/build/reports/kover/report.xml token: ${{ secrets.CODECOV_TOKEN }} - # Run Qodana inspections and provide a report - inspectCode: - name: Inspect code - needs: [ build ] - runs-on: ubuntu-latest - permissions: - contents: write - checks: write - pull-requests: write - steps: - - # Free GitHub Actions Environment Disk Space - - name: Maximize Build Space - uses: jlumbroso/free-disk-space@v1.3.1 - with: - tool-cache: false - large-packages: false - - # Check out the current repository - - name: Fetch Sources - uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit - fetch-depth: 0 # a full history is required for pull request analysis - - # Set up the Java environment for the next steps - - name: Setup Java - uses: actions/setup-java@v5 - with: - distribution: zulu - java-version: 21 - - # Run Qodana inspections - - name: Qodana - Code Inspection - uses: JetBrains/qodana-action@v2025.1.1 - with: - cache-default-branch-only: true - # Run plugin structure verification along with IntelliJ Plugin Verifier verify: name: Verify plugin @@ -212,7 +173,7 @@ jobs: releaseDraft: name: Release draft if: github.event_name != 'pull_request' - needs: [ build, test, inspectCode, verify ] + needs: [ build, test, verify ] runs-on: ubuntu-latest permissions: contents: write diff --git a/.gitignore b/.gitignore index df6966a..da7923a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ .idea .intellijPlatform .kotlin -.qodana build diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba470e..01f1cfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+ - Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper` +- Remove Qodana configuration, dependencies, and related workflow steps. - Remove redundant Kotlin JVM toolchain configuration from `build.gradle.kts` - Remove redundant `intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild` configuration from `build.gradle.kts` - Remove redundant `pluginSinceBuild` property from `gradle.properties` diff --git a/build.gradle.kts b/build.gradle.kts index d1fc735..e0cd6db 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,6 @@ plugins { alias(libs.plugins.kotlin) // Kotlin support alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin alias(libs.plugins.changelog) // Gradle Changelog Plugin - alias(libs.plugins.qodana) // Gradle Qodana Plugin alias(libs.plugins.kover) // Gradle Kover Plugin } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5c3c191..a29f22e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,6 @@ junit = "4.13.2" changelog = "2.5.0" kotlin = "2.3.20" kover = "0.9.7" -qodana = "2025.3.2" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } @@ -16,4 +15,3 @@ changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } intelliJPlatform = { id = "org.jetbrains.intellij.platform" } kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } -qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" } diff --git a/qodana.yml b/qodana.yml deleted file mode 100644 index 81f13b9..0000000 --- a/qodana.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Qodana configuration: -# https://www.jetbrains.com/help/qodana/qodana-yaml.html - -version: "1.0" -linter: jetbrains/qodana-jvm-community:2024.3 -projectJDK: "21" -profile: - name: qodana.recommended -exclude: - - name: All - paths: - - .qodana