mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-22 11:54:40 +00:00
Remove Qodana configuration, dependencies, and related workflow steps.
This commit is contained in:
41
.github/workflows/build.yml
vendored
41
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,5 +3,4 @@
|
||||
.idea
|
||||
.intellijPlatform
|
||||
.kotlin
|
||||
.qodana
|
||||
build
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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" }
|
||||
|
||||
12
qodana.yml
12
qodana.yml
@@ -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
|
||||
Reference in New Issue
Block a user