diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-08 16:33:40 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 16:33:40 -0230 |
commit | 5a98a98dfc0009599b90280ae3a1f166de21e6e8 (patch) | |
tree | b9e1ee11228288818f63649a7e27702b6853356e /.github/workflows/build.yml | |
parent | b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb (diff) | |
parent | 6b94b4f0e6a20a87145ac1a544a0d19289da7e96 (diff) | |
download | SkyblockHud-Death-Defied-5a98a98dfc0009599b90280ae3a1f166de21e6e8.tar.gz SkyblockHud-Death-Defied-5a98a98dfc0009599b90280ae3a1f166de21e6e8.tar.bz2 SkyblockHud-Death-Defied-5a98a98dfc0009599b90280ae3a1f166de21e6e8.zip |
Merge pull request #3 from ThatGravyBoat/prettier-testing
Improve prettier formatting
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 916c6be..4d0c2f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,15 +3,16 @@ name: Build on: push: branches: - - '*' + - "*" paths-ignore: - - '.gitignore' + - ".gitignore" pull_request: branches: - - '*' + - "*" paths-ignore: - - '.gitignore' + - ".gitignore" workflow_dispatch: +permissions: write-all jobs: build: runs-on: ubuntu-latest @@ -39,11 +40,11 @@ jobs: path: build/libs/*.jar - name: Stop gradle daemons run: ./gradlew --stop - + Check-Formating: runs-on: ubuntu-latest name: Check Formatting - + steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 @@ -53,7 +54,7 @@ jobs: - name: Prettify the Java Code uses: lwerner-lshigh/prettier_action_java@v1.1.1 with: - prettier_options: '--no-semi --write *.java' + prettier_options: "--write ." branch: ${{ github.head_ref }} dry: ${{ github.event_name != 'push' }} env: |