diff options
Diffstat (limited to '.github')
-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: |