Skip to content

Commit

Permalink
add java formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ht committed Jan 18, 2022
1 parent 3aaa705 commit 673c442
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/flutter_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,20 @@ jobs:
- run: chmod +x swiftformat_linux
- name: Check Swift formatting
run: ./swiftformat_linux --swiftversion 4.2 --maxwidth 100 --lint ios

check-java-formatting:
name: "Check Java formatting"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: get google-java-format
run: wget https://github.com/google/google-java-format/releases/download/v1.13.0/google-java-format-1.13.0-all-deps.jar
- run: java --version
- name: Check Java formatting
run: java -jar google-java-format-1.13.0-all-deps.jar --set-exit-if-changed -n $(find . -type f -name "*.java")


build-android:
environment: ANDROID_CI_DOWNLOADS_TOKEN
name: "Build Android apk"
Expand Down

0 comments on commit 673c442

Please sign in to comment.