LF8/.gitea/workflows/qs.yml
Jan Klattenhoff 2a7829f056
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m41s
Quality Check / Checkstyle Main (pull_request) Successful in 1m53s
ci: add container image for test and checkstyle jobs
2024-09-25 10:44:51 +02:00

35 lines
777 B
YAML

name: "Quality Check"
on:
- pull_request
jobs:
test:
name: "Tests"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0-node"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: "Check"
run: gradle testClasses
- name: "Stop Gradle"
run: gradle --stop
checkstyle:
name: "Checkstyle Main"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0-node"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: "Check"
run: gradle check
- name: "Stop Gradle"
run: gradle --stop