diff --git a/.github/workflows/check-translations.yml b/.github/workflows/check-codes.yml similarity index 67% rename from .github/workflows/check-translations.yml rename to .github/workflows/check-codes.yml index e28968ea9..b945650c5 100644 --- a/.github/workflows/check-translations.yml +++ b/.github/workflows/check-codes.yml @@ -1,11 +1,13 @@ -name: Check Translations +name: Check Codes on: push: paths: + - '**.java' - '**.properties' pull_request: paths: + - '**.java' - '**.properties' jobs: @@ -19,5 +21,5 @@ jobs: distribution: 'zulu' java-version: '11' java-package: 'jdk+fx' - - name: Check style test - run: ./gradlew checkTranslations --no-daemon + - name: Check Codes + run: ./gradlew checkstyleMain checkstyleTest checkTranslations --no-daemon --parallel diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml deleted file mode 100644 index c99873dc8..000000000 --- a/.github/workflows/check-style.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Check Style - -on: - push: - paths: - - '**.java' - pull_request: - paths: - - '**.java' - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - distribution: 'zulu' - java-version: '11' - java-package: 'jdk+fx' - - name: Check style main - run: ./gradlew checkstyleMain --no-daemon - - name: Check style test - run: ./gradlew checkstyleTest --no-daemon