-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update initialization from the website of spring
- Loading branch information
1 parent
a19494b
commit 5c5a1c6
Showing
20 changed files
with
191 additions
and
232 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Google Java Style Format | ||
|
||
on: | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
java-formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check for Java files | ||
id: check_java_files | ||
run: | | ||
if [ -n "$(find . -name '*.java' -print -quit)" ]; then | ||
echo "java_files_exist=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "java_files_exist=false" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Google Java Style Format | ||
if: steps.check_java_files.outputs.java_files_exist == 'true' | ||
uses: axel-op/googlejavaformat-action@v3 | ||
with: | ||
# --aosp: 4-space indentation | ||
args: "--replace --aosp" | ||
# Can not auto commit, we'll commit manually | ||
skip-commit: true | ||
|
||
- name: Commit Changes | ||
if: steps.check_java_files.outputs.java_files_exist == 'true' | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "Apply Google Java Style Format" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "3rdparty/docker-script"] | ||
path = 3rdparty/docker-script | ||
url = https://github.com/CMIPT/docker-script.git |
Submodule docker-script
added at
934e23
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.