Skip to content

Commit 041c72d

Browse files
committed
update CI
1 parent 48ab445 commit 041c72d

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/develop.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ on:
66
pull_request:
77
branches: [ develop ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913

1014
jobs:
1115
build:
1216

1317
runs-on: ${{ matrix.os }}
18+
timeout-minutes: 15
1419

1520
strategy:
1621
matrix:
1722
os: [ ubuntu-latest, windows-latest, macos-latest ]
18-
java-version: [ '17', '20', '21', '22', '23', '24', '25' ]
23+
java-version: [ '17', '21', '23', '24', '25' ]
1924

2025
steps:
2126
- uses: actions/checkout@v5
@@ -24,19 +29,10 @@ jobs:
2429
with:
2530
java-version: ${{ matrix.java-version }}
2631
distribution: 'temurin'
27-
28-
- name: Setup Gradle
29-
uses: gradle/actions/setup-gradle@v5
30-
with:
31-
build-scan-publish: true
32-
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
33-
build-scan-terms-of-use-agree: "yes"
32+
cache: 'gradle'
3433

3534
- name: Check dependencies
3635
run: ./gradlew dependencies
3736

38-
- name: Build with Gradle
39-
run: ./gradlew assemble
40-
41-
- name: Run unit tests
42-
run: ./gradlew test
37+
- name: Build and test
38+
run: ./gradlew build

0 commit comments

Comments
 (0)