LF8/.gitea/workflows/qs.yml
Renovate dc061cb28e
All checks were successful
Quality Check / Tests (pull_request) Successful in 23s
Quality Check / Checkstyle Main (pull_request) Successful in 34s
chore(deps): update cimg/openjdk docker tag to v21.0.2-node
2024-09-25 10:01:52 +00:00

51 lines
1.3 KiB
YAML

name: "Quality Check"
on:
- pull_request
jobs:
test:
name: "Tests"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0.2-node"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- 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.2-node"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Check"
run: gradle check
- name: "Stop Gradle"
run: gradle --stop