Skip to content

Commit

Permalink
1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed Aug 4, 2023
2 parents da1f14e + d707642 commit 68292b4
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 34 deletions.
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Bug report
description: Create a report to help us improve
labels: ["bug"]
body:

- type: textarea
id: issue
attributes:
label: What happened?
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output or stack trace
description: |
Please copy and paste any relevant log output.
Add the full stack trace if available.
If possible, run the failing task with `--stacktrace` flag.
*This will be automatically formatted into code, so there is no need for backticks.*
render: shell

- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: Steps to reproduce the behavior – provide your build configuration.
validations:
required: true

- type: input
id: version
attributes:
label: Gradle IntelliJ Plugin version
placeholder: 1.16.0
validations:
required: true

- type: input
id: gradle
attributes:
label: Gradle version
placeholder: 8.2.1
validations:
required: true

- type: dropdown
id: os
attributes:
label: Operating System
options:
- macOS
- Linux
- Windows

- type: input
id: url
attributes:
label: Link to build, i.e. failing GitHub Action job
placeholder: https://github.com/username/project/actions/runs/1234567890
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Documentation
url: https://github.com/JetBrains/intellij-platform-plugin-template
about: Check the README file in the first place.
- name: Getting Help
url: https://plugins.jetbrains.com/docs/intellij/getting-help.html
about: Check if you search for a help in plugin development.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Feature request
description: Suggest an idea for this project
labels: ["enhancement"]
body:

- type: textarea
id: cause
attributes:
label: Describe the need of your request
description: A clear and concise description of what the need or problem is.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed solution
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives you've considered
description: What did you try so far to accomplish the goal?

- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
24 changes: 15 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
large-packages: false

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.0.6
uses: gradle/wrapper-validation-action@v1.1.0

# Setup Java environment for the next steps
- name: Setup Java
Expand All @@ -57,6 +57,8 @@ jobs:
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

# Set environment variables
- name: Export Properties
Expand Down Expand Up @@ -119,6 +121,8 @@ jobs:
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

# Run tests
- name: Run Tests
Expand All @@ -136,7 +140,7 @@ jobs:
- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/build/reports/kover/xml/report.xml
files: ${{ github.workspace }}/build/reports/kover/report.xml

# Run Qodana inspections and provide report
inspectCode:
Expand All @@ -162,14 +166,14 @@ jobs:

# Run Qodana inspections
- name: Qodana - Code Inspection
uses: JetBrains/qodana-action@v2023.1.5
uses: JetBrains/qodana-action@v2023.2.1
with:
cache-default-branch-only: true

# Run plugin structure verification along with IntelliJ Plugin Verifier
verify:
name: Verify plugin
needs: [ build, test, inspectCode ]
needs: [ build ]
runs-on: ubuntu-latest
steps:

Expand All @@ -187,6 +191,8 @@ jobs:
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

# Cache Plugin Verifier IDEs
- name: Setup Plugin Verifier IDEs Cache
Expand All @@ -212,7 +218,7 @@ jobs:
releaseDraft:
name: Release draft
if: github.event_name != 'pull_request'
needs: [ build, verify ]
needs: [ build, test, inspectCode, verify ]
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

# Set environment variables
- name: Export Properties
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

# Run IDEA prepared for UI testing
- name: Run IDE
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
# IntelliJ Platform Plugin Template Changelog

## [Unreleased]
### Added
- [Foojay Toolchains Plugin](https://github.com/gradle/foojay-toolchains) integration
- GitHub Actions: set `gradle-home-cache-cleanup: true` flag to the Gradle Build Action
- GitHub Actions: use `jlumbroso/free-disk-space` to free disk space

### Changed
- GitHub Actions: rearrange the Build workflow
- Dependencies - upgrade `org.jetbrains.kotlinx.kover` to `0.7.3`
- Dependencies (GitHub Actions) - upgrade `gradle/wrapper-validation-action` to `v1.1.0`
- Dependencies (GitHub Actions) - upgrade `JetBrains/qodana-action` to `v2023.2.1`

### Fixed
- GitHub Actions: Fixed Kover report path when uploading the code coverage report

## [1.9.0] - 2023-07-11

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = org.jetbrains.plugins.template
pluginName = IntelliJ Platform Plugin Template
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
# SemVer format -> https://semver.org
pluginVersion = 1.9.0
pluginVersion = 1.10.0

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 222
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kotlin = "1.9.0"
changelog = "2.1.2"
gradleIntelliJPlugin = "1.15.0"
qodana = "0.1.13"
kover = "0.7.2"
kover = "0.7.3"

[libraries]
annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" }
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
}

rootProject.name = "IntelliJ Platform Plugin Template"

0 comments on commit 68292b4

Please sign in to comment.