33 lines
664 B
YAML
33 lines
664 B
YAML
|
name: Checks
|
||
|
|
||
|
on:
|
||
|
- pull_request
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
name: gradle package
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
fetch-depth: 1
|
||
|
|
||
|
- name: Cache Runner ToolCache
|
||
|
uses: actions/cache@v3
|
||
|
with:
|
||
|
path: ${{ env.RUNNER_TOOL_CACHE }}
|
||
|
key: ${{ runner.os }}-runner-tool-cache
|
||
|
|
||
|
- name: Setup Java
|
||
|
uses: actions/setup-java@v3
|
||
|
with:
|
||
|
distribution: zulu
|
||
|
java-version: 17
|
||
|
cache: gradle
|
||
|
|
||
|
- name: Gradle Build
|
||
|
run: |
|
||
|
chmod a+x ./gradlew
|
||
|
./gradlew bootJar -x test --no-daemon
|