Update google java format.yml #9
This file contains 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: google-java-format | ||
on: [ push, pull_request ] | ||
jobs: | ||
formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check formatting | ||
uses: axel-op/googlejavaformat-action@v3 | ||
with: | ||
args: "--replace" | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
skip-commit: true | ||
files: "${{ env.GITHUB_WORKSPACE }}/src/main/java/com/haemil/backend/${{GITHUB_REF#refs/heads/}}/*" | ||
Check failure on line 16 in .github/workflows/google java format.yml GitHub Actions / google-java-formatInvalid workflow file
|
||
- name: Print diffs | ||
run: git --no-pager diff --exit-code | ||