ProjectManagmentTool/.gitea/workflows/qs.yml

25 lines
No EOL
616 B
YAML

name: "Quality Check"
on:
- push
- pull_request
jobs:
linting:
name: "Linting 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: "Prepare Gradle"
run: gradle clean
- name: "Linting Main"
run: gradle checkstyleMain
- name: "Linting Test"
run: gradle checkstyleTest
- name: "Static Analysis Main"
run: gradle spotbugsMain
- name: "Static Analysis Test"
run: gradle spotbugsTest