aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThatGravyBoat <thatgravyboat@gmail.com>2021-07-08 10:25:54 -0230
committerThatGravyBoat <thatgravyboat@gmail.com>2021-07-08 10:25:54 -0230
commitb416301ae23c4c1d0f528b30e0ed28a3bfe4aabb (patch)
tree750d985207b6d8763dd412133ceab65c3de582e4 /.github
parentee89945ffeab899c2d1c1b37fbff87af0612e452 (diff)
parent67a96efa9fd6c9433ab5d94f468c07ce7e26896b (diff)
downloadSkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.tar.gz
SkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.tar.bz2
SkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.zip
Merge branch 'master' of https://github.com/ThatGravyboat/SkyblockHud
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 21ab056..916c6be 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,7 +14,6 @@ on:
workflow_dispatch:
jobs:
build:
-
runs-on: ubuntu-latest
steps:
@@ -39,4 +38,23 @@ jobs:
with:
path: build/libs/*.jar
- name: Stop gradle daemons
- run: ./gradlew --stop \ No newline at end of file
+ run: ./gradlew --stop
+
+ Check-Formating:
+ runs-on: ubuntu-latest
+ name: Check Formatting
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Prettify the Java Code
+ uses: lwerner-lshigh/prettier_action_java@v1.1.1
+ with:
+ prettier_options: '--no-semi --write *.java'
+ branch: ${{ github.head_ref }}
+ dry: ${{ github.event_name != 'push' }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}