build: checkstyle in another workflow.
This commit is contained in:
23
.github/workflows/check-style.yml
vendored
Normal file
23
.github/workflows/check-style.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Check Translations
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Checkout submodules
|
||||||
|
run: git submodule update --init --recursive
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '11'
|
||||||
|
java-package: jdk+fx
|
||||||
|
- name: Check style main
|
||||||
|
run: ./gradlew checkstyleMain
|
||||||
|
- name: Check style test
|
||||||
|
run: ./gradlew checkstyleTest
|
||||||
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
@@ -24,7 +24,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: HMCL
|
name: HMCL
|
||||||
path: HMCL/build/libs
|
path: HMCL/build/libs
|
||||||
- name: Check style main
|
|
||||||
run: ./gradlew checkstyleMain
|
|
||||||
- name: Check style test
|
|
||||||
run: ./gradlew checkstyleTest
|
|
||||||
|
|||||||
Reference in New Issue
Block a user