LF8/.gitea/workflows/qs.yml
Jan Gleytenhoover f53a317e72
All checks were successful
Quality Check / Tests (push) Successful in 48s
Quality Check / Checkstyle Main (push) Successful in 56s
Release / Release (push) Successful in 36s
docs: Update README.md (!15)
Reviewed-on: #15
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
2024-09-25 12:23:02 +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.2-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.2-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