-
-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (26 loc) · 844 Bytes
/
ci.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
name: CI
on: [ push, pull_request ]
jobs:
build:
name: "Check"
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: "git clone"
uses: actions/checkout@v4
- name: "setup jdk"
uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: "./gradlew build"
run: ./gradlew --scan --no-daemon build
env:
CI: true
- name: "git diff --exit-code"
run: git diff --exit-code