Implement balance changes for 1.5 #106
This file contains hidden or 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: Check ATBPExtension Formatting | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - ATBPExtension/src/** | |
| - .github/workflows/format-extension.yml | |
| pull_request: | |
| branches: [ "master" ] | |
| paths: | |
| - ATBPExtension/src/** | |
| - .github/workflows/format-extension.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| format-extension: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Download SFS2X | |
| run: wget -qO- https://www.smartfoxserver.com/downloads/sfs2x/SFS2X_unix_2_19_0.tar.gz | tar xvz -C ~ | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Execute Gradle check | |
| run: ./gradlew ATBPExtension:spotlessCheck |