mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 15:56:48 +08:00
719589082a
Use AOSP-style formatting
16 lines
286 B
YAML
16 lines
286 B
YAML
name: Format Code
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
formatting:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: axel-op/googlejavaformat-action@v3
|
|
with:
|
|
commitMessage: Format code
|
|
args: "--aosp --replace"
|