-
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.
refractor: add auto format and validations
- Loading branch information
1 parent
5dc9cd1
commit 41d3942
Showing
66 changed files
with
1,016 additions
and
903 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,28 @@ | ||
name: PR Check | ||
|
||
on: | ||
pull_request: | ||
branches: [ main, dev ] | ||
|
||
env: | ||
QUARKUS_CONTAINER_IMAGE_USERNAME: ${{ secrets.DOCKER_HUB_LOGIN }} | ||
QUARKUS_CONTAINER_IMAGE_PASSWORD: ${{ secrets.DOCKER_HUB_PWD }} | ||
|
||
jobs: | ||
pr_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout gh-repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
cache: maven | ||
|
||
- name: Clean and verify | ||
run: | | ||
# Skipping Docker image build for PR verification | ||
mvn clean verify -Dgpg.skip |
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,20 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<profiles version="13"> | ||
<profile kind="CodeFormatterProfile" name="Custom" version="13"> | ||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/> | ||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/> | ||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/> | ||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/> | ||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant" value="49"/> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/> | ||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/> | ||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="49"/> | ||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/> | ||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/> | ||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/> | ||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/> | ||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/> | ||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/> | ||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/> | ||
</profile> | ||
</profiles> |
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
Oops, something went wrong.