Skip to content

Updated format github CI #4

Updated format github CI

Updated format github CI #4

name: Format

Check failure on line 1 in .github/workflows/android_format.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/android_format.yml

Invalid workflow file

`on` is not a valid event name
on:
push:
branches: [ main ]
on:
workflow_run:
workflows: ["Build"]
types:
- completed
jobs:
format-code:
name: format java code
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run formatting
uses: axel-op/googlejavaformat-action@v3
with:
args: "--skip-sorting-imports --replace"