Skip to content

Commit bf5e781

Browse files
project cleanup; (#15)
* project cleanup; * github action updated;
1 parent b1f09db commit bf5e781

5 files changed

Lines changed: 20 additions & 117 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
1-
name: Template CI
1+
name: Java CI
22

33
on:
44
pull_request:
55
branches:
66
- master
7-
push:
8-
branches:
9-
- master
107

118
jobs:
129
build:
1310
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
task: [check, test]
14+
1415
steps:
15-
- uses: actions/checkout@v4
16+
- name: Checkout source code
17+
uses: actions/checkout@v4
1618
with:
1719
submodules: recursive
18-
- uses: actions/setup-java@v4
20+
21+
- name: Set up Gradle
22+
uses: gradle/actions/setup-gradle@v4
1923
with:
20-
distribution: 'temurin' # See 'Supported distributions' for available options
21-
java-version: '21'
22-
cache: 'gradle'
23-
- name: Build
24-
run: ./gradlew check
24+
gradle-version: current
25+
26+
- name: Validate Gradle Wrapper
27+
uses: gradle/actions/wrapper-validation@v4
28+
29+
- name: Run Gradle ${{ matrix.task }}
30+
run: ./gradlew ${{ matrix.task }}

bin/init.sh

Lines changed: 0 additions & 102 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

122 Bytes
Binary file not shown.

gradlew

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)