Fix: Mouse patch crashing for custom clients #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: IntelliJ Format | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- if: github.event_name != 'pull_request' | |
uses: actions/checkout@v4 | |
- if: github.event_name == 'pull_request' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Cache IDEA | |
uses: actions/cache@v3 | |
with: | |
path: /home/runner/work/_temp/_github_workflow/idea-cache | |
key: ${{ runner.os }}-idea-cache-v2 | |
- name: Run Formatter | |
uses: notdevcody/intellij-format-action@v2 | |
with: | |
include-glob: '*.java' | |
path: './' |