LF8/.gitea/workflows/qs.yml

28 lines
683 B
YAML
Raw Normal View History

name: "Quality Check"
on:
- pull_request
jobs:
oas:
name: "Gradle Check"
runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0-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