Compare commits

...

2 commits

Author SHA1 Message Date
4791bc0af3
PMT-3: Update CI with caching for Dependencies
Some checks failed
Quality Check / Linting (push) Failing after 32s
Quality Check / Validate OAS (push) Successful in 59s
Quality Check / Testing (push) Has been cancelled
Quality Check / Static Analysis (push) Has been cancelled
2024-09-19 21:58:48 +02:00
067e146a9b
PMT-3: Update Linter to Ignore new Type of Boilerplate code 2024-09-19 21:53:57 +02:00
5 changed files with 38 additions and 1 deletions

View file

@ -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"

View file

@ -18,6 +18,7 @@ plugins {
checkstyle {
toolVersion = "10.12.4"
configDirectory = file("src/main/resources/")
configFile = file("src/main/resources/checkstyle.xml")
}

View 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>

View file

@ -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"/>

View file

@ -7,7 +7,6 @@
"dateLibrary": "java11",
"library": "spring-boot3",
"defaultInterfaces": false,
"hideGenerationTimestamp": true,
"serializableModel": true
}