Skip to content

Commit 68292b4

Browse files
authored
1.10.0
2 parents da1f14e + d707642 commit 68292b4

File tree

11 files changed

+141
-34
lines changed

11 files changed

+141
-34
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
labels: ["bug"]
4+
body:
5+
6+
- type: textarea
7+
id: issue
8+
attributes:
9+
label: What happened?
10+
description: A clear and concise description of what the bug is.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: logs
16+
attributes:
17+
label: Relevant log output or stack trace
18+
description: |
19+
Please copy and paste any relevant log output.
20+
Add the full stack trace if available.
21+
If possible, run the failing task with `--stacktrace` flag.
22+
23+
*This will be automatically formatted into code, so there is no need for backticks.*
24+
render: shell
25+
26+
- type: textarea
27+
id: steps
28+
attributes:
29+
label: Steps to reproduce
30+
description: Steps to reproduce the behavior – provide your build configuration.
31+
validations:
32+
required: true
33+
34+
- type: input
35+
id: version
36+
attributes:
37+
label: Gradle IntelliJ Plugin version
38+
placeholder: 1.16.0
39+
validations:
40+
required: true
41+
42+
- type: input
43+
id: gradle
44+
attributes:
45+
label: Gradle version
46+
placeholder: 8.2.1
47+
validations:
48+
required: true
49+
50+
- type: dropdown
51+
id: os
52+
attributes:
53+
label: Operating System
54+
options:
55+
- macOS
56+
- Linux
57+
- Windows
58+
59+
- type: input
60+
id: url
61+
attributes:
62+
label: Link to build, i.e. failing GitHub Action job
63+
placeholder: https://github.com/username/project/actions/runs/1234567890

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Documentation
4+
url: https://github.com/JetBrains/intellij-platform-plugin-template
5+
about: Check the README file in the first place.
6+
- name: Getting Help
7+
url: https://plugins.jetbrains.com/docs/intellij/getting-help.html
8+
about: Check if you search for a help in plugin development.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
labels: ["enhancement"]
4+
body:
5+
6+
- type: textarea
7+
id: cause
8+
attributes:
9+
label: Describe the need of your request
10+
description: A clear and concise description of what the need or problem is.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: solution
16+
attributes:
17+
label: Proposed solution
18+
description: A clear and concise description of what you want to happen.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: alternatives
24+
attributes:
25+
label: Alternatives you've considered
26+
description: What did you try so far to accomplish the goal?
27+
28+
- type: textarea
29+
id: context
30+
attributes:
31+
label: Additional context
32+
description: Add any other context or screenshots about the feature request here.

.github/workflows/build.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ jobs:
3434

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

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

4646
# Validate wrapper
4747
- name: Gradle Wrapper Validation
48-
uses: gradle/wrapper-validation-action@v1.0.6
48+
uses: gradle/wrapper-validation-action@v1.1.0
4949

5050
# Setup Java environment for the next steps
5151
- name: Setup Java
@@ -57,6 +57,8 @@ jobs:
5757
# Setup Gradle
5858
- name: Setup Gradle
5959
uses: gradle/gradle-build-action@v2
60+
with:
61+
gradle-home-cache-cleanup: true
6062

6163
# Set environment variables
6264
- name: Export Properties
@@ -119,6 +121,8 @@ jobs:
119121
# Setup Gradle
120122
- name: Setup Gradle
121123
uses: gradle/gradle-build-action@v2
124+
with:
125+
gradle-home-cache-cleanup: true
122126

123127
# Run tests
124128
- name: Run Tests
@@ -136,7 +140,7 @@ jobs:
136140
- name: Upload Code Coverage Report
137141
uses: codecov/codecov-action@v3
138142
with:
139-
files: ${{ github.workspace }}/build/reports/kover/xml/report.xml
143+
files: ${{ github.workspace }}/build/reports/kover/report.xml
140144

141145
# Run Qodana inspections and provide report
142146
inspectCode:
@@ -162,14 +166,14 @@ jobs:
162166

163167
# Run Qodana inspections
164168
- name: Qodana - Code Inspection
165-
uses: JetBrains/qodana-action@v2023.1.5
169+
uses: JetBrains/qodana-action@v2023.2.1
166170
with:
167171
cache-default-branch-only: true
168172

169173
# Run plugin structure verification along with IntelliJ Plugin Verifier
170174
verify:
171175
name: Verify plugin
172-
needs: [ build, test, inspectCode ]
176+
needs: [ build ]
173177
runs-on: ubuntu-latest
174178
steps:
175179

@@ -187,6 +191,8 @@ jobs:
187191
# Setup Gradle
188192
- name: Setup Gradle
189193
uses: gradle/gradle-build-action@v2
194+
with:
195+
gradle-home-cache-cleanup: true
190196

191197
# Cache Plugin Verifier IDEs
192198
- name: Setup Plugin Verifier IDEs Cache
@@ -212,7 +218,7 @@ jobs:
212218
releaseDraft:
213219
name: Release draft
214220
if: github.event_name != 'pull_request'
215-
needs: [ build, verify ]
221+
needs: [ build, test, inspectCode, verify ]
216222
runs-on: ubuntu-latest
217223
permissions:
218224
contents: write

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
# Setup Gradle
3535
- name: Setup Gradle
3636
uses: gradle/gradle-build-action@v2
37+
with:
38+
gradle-home-cache-cleanup: true
3739

3840
# Set environment variables
3941
- name: Export Properties

.github/workflows/run-ui-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
# Setup Gradle
4646
- name: Setup Gradle
4747
uses: gradle/gradle-build-action@v2
48+
with:
49+
gradle-home-cache-cleanup: true
4850

4951
# Run IDEA prepared for UI testing
5052
- name: Run IDE

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
# IntelliJ Platform Plugin Template Changelog
44

55
## [Unreleased]
6+
### Added
7+
- [Foojay Toolchains Plugin](https://github.com/gradle/foojay-toolchains) integration
8+
- GitHub Actions: set `gradle-home-cache-cleanup: true` flag to the Gradle Build Action
9+
- GitHub Actions: use `jlumbroso/free-disk-space` to free disk space
10+
11+
### Changed
12+
- GitHub Actions: rearrange the Build workflow
13+
- Dependencies - upgrade `org.jetbrains.kotlinx.kover` to `0.7.3`
14+
- Dependencies (GitHub Actions) - upgrade `gradle/wrapper-validation-action` to `v1.1.0`
15+
- Dependencies (GitHub Actions) - upgrade `JetBrains/qodana-action` to `v2023.2.1`
16+
17+
### Fixed
18+
- GitHub Actions: Fixed Kover report path when uploading the code coverage report
619

720
## [1.9.0] - 2023-07-11
821

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pluginGroup = org.jetbrains.plugins.template
44
pluginName = IntelliJ Platform Plugin Template
55
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
66
# SemVer format -> https://semver.org
7-
pluginVersion = 1.9.0
7+
pluginVersion = 1.10.0
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 222

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kotlin = "1.9.0"
77
changelog = "2.1.2"
88
gradleIntelliJPlugin = "1.15.0"
99
qodana = "0.1.13"
10-
kover = "0.7.2"
10+
kover = "0.7.3"
1111

1212
[libraries]
1313
annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" }

0 commit comments

Comments
 (0)