LF8/.gitea/workflows/qs.yml
Renovate d24b6b446d
Some checks failed
gitea-sonarqube-bot OK
Build PR / Build and analyze (pull_request) Successful in 2m59s
Quality Check / Tests (pull_request) Successful in 3m44s
Quality Check / Checkstyle Main (pull_request) Failing after 3h12m3s
chore(deps): update cimg/openjdk docker tag to v21.0.5-node
2024-10-17 14:01:37 +00:00

54 lines
1.3 KiB
YAML

name: "Quality Check"
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: "Tests"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0.5-node"
steps:
- name: "Checkout"
uses: actions/checkout@v4
- uses: actions/cache@v4
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 test
- name: "Stop Gradle"
run: gradle --stop
checkstyle:
name: "Checkstyle Main"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0.5-node"
steps:
- name: "Checkout"
uses: actions/checkout@v4
- uses: actions/cache@v4
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 checkstyleMain --scan
- name: "Stop Gradle"
run: gradle --stop