New feature (#775) #1228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Before checker with maven | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "dev" ] | |
jobs: | |
before_checker_loading: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: echo 'Before checker loading' | |
before_checker_ui: | |
runs-on: ubuntu-latest | |
needs: | |
- before_checker_loading | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: cd core/datacap-ui && npm install yarn -g && yarn install && yarn run build | |
before_checker_style: | |
runs-on: ubuntu-latest | |
needs: | |
- before_checker_ui | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Maven Checker Style | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- run: chmod 755 ./mvnw | |
- run: ./mvnw clean install checkstyle:checkstyle -Dfindbugs.skip -Dgpg.skip -Dskip.yarn -DskipTests=true | |
before_checker_bugs: | |
runs-on: ubuntu-latest | |
needs: | |
- before_checker_ui | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Maven Checker Bugs | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- run: chmod 755 ./mvnw | |
- run: ./mvnw clean install findbugs:findbugs -Dcheckstyle.skip -Dgpg.skip -Dskip.yarn -DskipTests=true | |
before_checker_package: | |
runs-on: ubuntu-latest | |
needs: | |
- before_checker_style | |
- before_checker_bugs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Maven Checker Package | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- run: chmod 755 ./mvnw | |
- run: ./mvnw -T 1C clean install package -Dfindbugs.skip -Dgpg.skip -Dcheckstyle.skip -DskipTests=true |