Compare commits

..

No commits in common. "cfd1d01f6fcd4fc9578998fe325425e84f05c70b" and "9cafe178a42737c82e2f4879fdbefacd575a2584" have entirely different histories.

5 changed files with 2 additions and 68 deletions

View File

@ -4,39 +4,6 @@ on:
pull_request:
jobs:
checkstyle:
name: "Checkstyle Main"
runs-on: "vps-4"
container:
image: "cimg/openjdk:22.0-node"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: Setup Java 22
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "22"
- uses: actions/cache@v3
working-directory: ./backend
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
working-directory: ./backend
run: gradle clean
- name: "Check"
working-directory: ./backend
run: gradle checkstyleMain
- name: "Stop Gradle"
working-directory: ./backend
run: gradle --stop
eslint:
name: eslint
runs-on: vps-4

View File

@ -2,21 +2,6 @@ plugins {
java
id("org.springframework.boot") version "3.3.3"
id("io.spring.dependency-management") version "1.1.6"
id("checkstyle")
}
checkstyle {
configFile = file("$rootDir/config/checkstyle/checkstyle.xml")
}
tasks.withType<Checkstyle> {
reports {
// Disable HTML report
html.required.set(false)
// Disable XML report
xml.required.set(false)
}
}
group = "de.szut"

View File

@ -1,18 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd"
>
<module name="Checker">
<property name="severity" value="error"/>
<property name="tabWidth" value="4"/>
<module name="LineLength">
<property name="max" value="500"/>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
<module name="NewlineAtEndOfFile"/>
</module>

View File

@ -58,4 +58,4 @@ public class OpenAPIConfiguration {
}
}
}

View File

@ -45,4 +45,4 @@ public class KeycloakLogoutHandler implements LogoutHandler {
}
}
}
}