nhplus/.gitea/workflows/quality.yml

27 lines
681 B
YAML
Raw Normal View History

2024-04-26 09:39:06 +00:00
name: "Quality Check"
on:
- push
- pull_request
jobs:
linting:
name: "Linting Check"
2024-04-26 09:39:06 +00:00
runs-on: "ubuntu-latest"
container:
image: "git.euph.dev/actions/runner-java-21:latest"
2024-04-26 09:39:06 +00:00
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- name: "Checkstyle Linting"
run: mvn checkstyle:check -e
javadoc:
name: "Javadoc Check"
runs-on: "ubuntu-latest"
container:
image: "git.euph.dev/actions/runner-java-21:latest"
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- name: "Generate Javadoc"
run: mvn package javadoc:javadoc -f pom.xml