2022-09-17 15:49:36 +08:00
|
|
|
name: Before checker with maven
|
|
|
|
|
|
|
|
on:
|
|
|
|
push
|
|
|
|
|
|
|
|
jobs:
|
2022-09-17 16:07:40 +08:00
|
|
|
|
2022-09-17 15:49:36 +08:00
|
|
|
before_checker_style:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-17 15:52:45 +08:00
|
|
|
- name: Checkout
|
2022-09-17 15:57:05 +08:00
|
|
|
uses: actions/checkout@v3
|
2022-09-17 15:52:45 +08:00
|
|
|
|
2022-09-17 16:07:40 +08:00
|
|
|
- name: Maven Checker Style
|
2022-09-17 15:49:36 +08:00
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '11'
|
|
|
|
distribution: 'temurin'
|
|
|
|
- run: chmod 755 ./mvnw
|
2022-09-20 15:46:31 +08:00
|
|
|
- run: ./mvnw clean install checkstyle:checkstyle -Dskip.npm -X
|
2022-09-17 15:49:36 +08:00
|
|
|
|
|
|
|
before_checker_bugs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: before_checker_style
|
|
|
|
steps:
|
2022-09-17 15:52:45 +08:00
|
|
|
- name: Checkout
|
2022-09-17 15:57:05 +08:00
|
|
|
uses: actions/checkout@v3
|
2022-09-17 15:52:45 +08:00
|
|
|
|
2022-09-17 16:07:40 +08:00
|
|
|
- name: Maven Checker Bugs
|
2022-09-17 15:49:36 +08:00
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '11'
|
|
|
|
distribution: 'temurin'
|
|
|
|
- run: chmod 755 ./mvnw
|
2022-09-20 15:46:31 +08:00
|
|
|
- run: ./mvnw clean install findbugs:findbugs -Dskip.npm -X
|
2022-09-17 15:49:36 +08:00
|
|
|
|
2022-09-18 13:34:45 +08:00
|
|
|
before_checker_tests:
|
2022-09-17 15:49:36 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: before_checker_bugs
|
|
|
|
steps:
|
2022-09-17 15:52:45 +08:00
|
|
|
|
|
|
|
- name: Checkout
|
2022-09-17 15:57:05 +08:00
|
|
|
uses: actions/checkout@v3
|
2022-09-17 15:52:45 +08:00
|
|
|
|
2022-09-18 13:34:45 +08:00
|
|
|
- name: Maven Checker Tests
|
2022-09-17 15:49:36 +08:00
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '11'
|
|
|
|
distribution: 'temurin'
|
|
|
|
- run: chmod 755 ./mvnw
|
2022-09-20 15:46:31 +08:00
|
|
|
- run: ./mvnw clean install -Dfindbugs.skip -Dcheckstyle.skip -Dskip.npm -X
|