2024-06-11 03:14:38 +00:00
|
|
|
# Check
|
|
|
|
name: Server Check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-06-11 03:19:46 +00:00
|
|
|
- feature/server-java
|
|
|
|
- releases/server-java
|
2024-06-11 03:14:38 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-06-11 03:19:46 +00:00
|
|
|
- feature/server-java
|
|
|
|
- releases/server-java
|
2024-06-11 03:14:38 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Set up Zulu JDK 8
|
|
|
|
uses: actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
distribution: "zulu"
|
|
|
|
java-version: "8"
|
|
|
|
|
|
|
|
- name: check with Maven
|
2024-06-11 03:34:42 +00:00
|
|
|
run: mvn clean install -DskipTests -U && mvn pmd:check
|
2024-06-11 03:14:38 +00:00
|
|
|
|
|
|
|
- name: checkstyle with Maven
|
2024-06-11 03:49:54 +00:00
|
|
|
run: mvn checkstyle:check
|
2024-06-11 03:14:38 +00:00
|
|
|
|
|
|
|
- name: test with Maven
|
|
|
|
run: mvn test
|