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:
|
||||
- name: "Checkout"
|
||||
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"
|
||||
run: gradle clean
|
||||
- name: "Generate OAS Boilerplate"
|
||||
|
@ -41,6 +49,14 @@ jobs:
|
|||
steps:
|
||||
- name: "Checkout"
|
||||
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"
|
||||
run: gradle clean
|
||||
- name: "Generate OAS Boilerplate"
|
||||
|
@ -57,6 +73,14 @@ jobs:
|
|||
steps:
|
||||
- name: "Checkout"
|
||||
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"
|
||||
run: gradle clean
|
||||
- name: "Generate OAS Boilerplate"
|
||||
|
|
|
@ -18,6 +18,7 @@ plugins {
|
|||
|
||||
checkstyle {
|
||||
toolVersion = "10.12.4"
|
||||
configDirectory = file("src/main/resources/")
|
||||
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"
|
||||
>
|
||||
<module name="Checker">
|
||||
<module name="SuppressionFilter">
|
||||
<property name="file" value="${config_loc}/checkstyle-ignore.xml"/>
|
||||
</module>
|
||||
|
||||
<property name="severity" value="error"/>
|
||||
<property name="tabWidth" value="4"/>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
"dateLibrary": "java11",
|
||||
"library": "spring-boot3",
|
||||
"defaultInterfaces": false,
|
||||
"hideGenerationTimestamp": true,
|
||||
"serializableModel": true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue