Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 599 B view raw
1name: IntelliJ Format 2 3on: 4 push: 5 branches: [ "master" ] 6 pull_request: 7 branches: [ "master" ] 8 9jobs: 10 formatting: 11 runs-on: ubuntu-latest 12 steps: 13 - if: github.event_name != 'pull_request' 14 uses: actions/checkout@v4 15 - if: github.event_name == 'pull_request' 16 uses: actions/checkout@v4 17 with: 18 ref: ${{ github.event.pull_request.head.ref }} 19 - uses: notdevcody/intellij-format-action@v1.1 20 with: 21 include-glob: '*.java' 22 path: src/main/java/ 23 style-settings-file: ../../../.idea/codeStyles/Project.xml