We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb944b7 commit 237744fCopy full SHA for 237744f
.github/workflows/lint.yml
@@ -69,6 +69,10 @@ jobs:
69
extension/android/benchmark/app/src/main/java/org/pytorch/minibench/*.java)
70
if [ -n "$FILES_NEEDS_FORMAT" ]; then
71
echo "Warning: The following files need formatting. Please use google-java-format."
72
- echo "$FILES_NEEDS_FORMAT"
+ echo "Use a binary from https://github.com/google/google-java-format/releases/"
73
+ echo "For example:"
74
+ echo "wget https://github.com/google/google-java-format/releases/download/v1.23.0/google-java-format_linux-x86-64"
75
+ echo "chmod +x google-java-format_linux-x86-64"
76
+ echo "./google-java-format_linux-x86-64 -i $FILES_NEEDS_FORMAT"
77
exit 1
78
fi
0 commit comments