-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (34 loc) · 882 Bytes
/
check.yml
File metadata and controls
35 lines (34 loc) · 882 Bytes
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
name: check
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-gradle-user-home
with:
path: ~/.gradle
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-
- name: Show Gradle version
run: ./gradlew --version
- name: Build with Gradle
run: ./gradlew check --scan -x browserTest