-
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.
Github Actions: run reformat.yml after actions.yml
* runs auto-code-formatter after checking if modules compile correctly --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0be76fd
commit 4ab1815
Showing
4 changed files
with
70 additions
and
66 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
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 |
---|---|---|
@@ -1,33 +1,30 @@ | ||
name: Re-format Code | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_call: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Install IntelliJ IDEA | ||
run: | | ||
wget -q -O idea.tar.gz https://download.jetbrains.com/idea/ideaIC-2024.1.1.tar.gz | ||
tar -xzf idea.tar.gz | ||
- name: Install IntelliJ IDEA | ||
run: | | ||
wget -q -O idea.tar.gz https://download.jetbrains.com/idea/ideaIC-2024.1.1.tar.gz | ||
tar -xzf idea.tar.gz | ||
- name: Format code | ||
run: | | ||
./*/bin/format.sh -m *.java -r . | ||
- name: Commit changes | ||
run: | | ||
git config user.name 'github-actions[bot]' | ||
git config user.email "github-actions[bot]@users.noreply.github.com" | ||
git commit -a -m "Auto-format code" | ||
git push | ||
- name: Format code | ||
run: | | ||
./*/bin/format.sh -m *.java -r . | ||
- name: Commit changes | ||
run: | | ||
git config user.name 'github-actions[bot]' | ||
git config user.email "github-actions[bot]@users.noreply.github.com" | ||
git commit -a -m "Auto-format code" | ||
git push |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package com.ddd.model; | ||
|
||
public class BundleDTO { | ||
|
||
private String bundleId; | ||
private Bundle bundle; | ||
|
||
|