Skip to content

Commit

Permalink
Merge pull request #205 from dinbtechit/bug/201-rust-mut-keyword
Browse files Browse the repository at this point in the history
Bug/201 rust mut keyword
  • Loading branch information
dinbtechit authored Nov 23, 2024
2 parents fb5b7e6 + a94067c commit 67160e8
Show file tree
Hide file tree
Showing 20 changed files with 306 additions and 128 deletions.
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.
20 changes: 8 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-home-cache-cleanup: true

Expand All @@ -106,8 +106,6 @@ jobs:
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
# Build plugin
- name: Build plugin
run: ./gradlew buildPlugin
Expand Down Expand Up @@ -150,9 +148,7 @@ jobs:

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Run tests
- name: Run Tests
Expand Down Expand Up @@ -193,6 +189,9 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
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 Java environment for the next steps
- name: Setup Java
Expand All @@ -203,7 +202,7 @@ jobs:

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

Expand All @@ -212,7 +211,6 @@ jobs:
name: Verify plugin
needs: [ build ]
runs-on: ubuntu-latest
continue-on-error: true
steps:

# Free GitHub Actions Environment Disk Space
Expand All @@ -235,9 +233,7 @@ jobs:

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Cache Plugin Verifier IDEs
- name: Setup Plugin Verifier IDEs Cache
Expand All @@ -248,7 +244,7 @@ jobs:

# Run Verify Plugin task and IntelliJ Plugin Verifier tool
- name: Run Plugin Verification tasks
run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}

# Collect Plugin Verifier Result
- name: Collect Plugin Verifier Result
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Set environment variables
- name: Export Properties
Expand All @@ -51,7 +49,7 @@ jobs:
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
# Update Unreleased section with the current release note
# Update the Unreleased section with the current release note
- name: Patch Changelog
if: ${{ steps.properties.outputs.changelog != '' }}
env:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ jobs:

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Run IDEA prepared for UI testing
- name: Run IDE
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
build
.idea/**
.DS_Store
/.intellijPlatform/
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

## Unreleased

### Added
- Init Ruby Annotator

### Fixed
- #201 - Rust mut keyword inconsistent colors
- Welcome screen - Project actions - background fixed

### Changed
- Updating library versions and syncing with template

## 1.10.12 - 2024-10-26

### Added
Expand Down
Loading

0 comments on commit 67160e8

Please sign in to comment.