Compare commits
2 commits
af6b251f74
...
4791bc0af3
Author | SHA1 | Date | |
---|---|---|---|
4791bc0af3 | |||
067e146a9b |
5 changed files with 38 additions and 1 deletions
|
@ -25,6 +25,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: "https://git.euph.dev/actions/checkout@v3"
|
uses: "https://git.euph.dev/actions/checkout@v3"
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gradle-
|
||||||
- name: "Prepare Gradle"
|
- name: "Prepare Gradle"
|
||||||
run: gradle clean
|
run: gradle clean
|
||||||
- name: "Generate OAS Boilerplate"
|
- name: "Generate OAS Boilerplate"
|
||||||
|
@ -41,6 +49,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: "https://git.euph.dev/actions/checkout@v3"
|
uses: "https://git.euph.dev/actions/checkout@v3"
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gradle-
|
||||||
- name: "Prepare Gradle"
|
- name: "Prepare Gradle"
|
||||||
run: gradle clean
|
run: gradle clean
|
||||||
- name: "Generate OAS Boilerplate"
|
- name: "Generate OAS Boilerplate"
|
||||||
|
@ -57,6 +73,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: "https://git.euph.dev/actions/checkout@v3"
|
uses: "https://git.euph.dev/actions/checkout@v3"
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gradle-
|
||||||
- name: "Prepare Gradle"
|
- name: "Prepare Gradle"
|
||||||
run: gradle clean
|
run: gradle clean
|
||||||
- name: "Generate OAS Boilerplate"
|
- name: "Generate OAS Boilerplate"
|
||||||
|
|
|
@ -18,6 +18,7 @@ plugins {
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
toolVersion = "10.12.4"
|
toolVersion = "10.12.4"
|
||||||
|
configDirectory = file("src/main/resources/")
|
||||||
configFile = file("src/main/resources/checkstyle.xml")
|
configFile = file("src/main/resources/checkstyle.xml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
9
src/main/resources/checkstyle-ignore.xml
Normal file
9
src/main/resources/checkstyle-ignore.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE suppressions PUBLIC
|
||||||
|
"-//Puppy Crawl//DTD Suppressions 1.2//EN"
|
||||||
|
"https://checkstyle.org/dtds/suppressions_1_2.dtd"
|
||||||
|
>
|
||||||
|
|
||||||
|
<suppressions>
|
||||||
|
<suppress files="[\\/]de[\\/]hmmh[\\/]pmt[\\/]oas" checks="."/>
|
||||||
|
</suppressions>
|
|
@ -4,6 +4,10 @@
|
||||||
"https://checkstyle.org/dtds/configuration_1_3.dtd"
|
"https://checkstyle.org/dtds/configuration_1_3.dtd"
|
||||||
>
|
>
|
||||||
<module name="Checker">
|
<module name="Checker">
|
||||||
|
<module name="SuppressionFilter">
|
||||||
|
<property name="file" value="${config_loc}/checkstyle-ignore.xml"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
<property name="severity" value="error"/>
|
<property name="severity" value="error"/>
|
||||||
<property name="tabWidth" value="4"/>
|
<property name="tabWidth" value="4"/>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
"dateLibrary": "java11",
|
"dateLibrary": "java11",
|
||||||
"library": "spring-boot3",
|
"library": "spring-boot3",
|
||||||
"defaultInterfaces": false,
|
"defaultInterfaces": false,
|
||||||
"hideGenerationTimestamp": true,
|
|
||||||
"serializableModel": true
|
"serializableModel": true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue