-
-
Notifications
You must be signed in to change notification settings - Fork 13
44 lines (37 loc) · 1.01 KB
/
hndrs-gradle-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: gradle
# Controls when the action will run.
on:
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: test
env:
SLACK_APP_CLIENT_ID: test-clientId
SLACK_APP_CLIENT_SECRET: test-clientSecret
SLACK_APP_SIGNING_SECRET: test-signingSecret
run: |
./gradlew check --no-daemon --warn