Skip to content

Commit 59f5085

Browse files
committed
try building only first
1 parent f2bb77d commit 59f5085

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/checks.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
needs: test
10+
# needs: test
1111

1212
strategy:
1313
matrix:
14-
java-version: [11, 17]
14+
java-version: [11] # [11, 17]
1515

1616
steps:
1717
- name: Checkout code
@@ -34,26 +34,26 @@ jobs:
3434
- name: Build with Maven
3535
run: mvn clean compile package -DskipTests
3636

37-
test:
38-
runs-on: ubuntu-latest
39-
40-
steps:
41-
- name: Checkout code
42-
uses: actions/checkout@v4
43-
44-
- name: Set up JDK 17
45-
uses: actions/setup-java@v4
46-
with:
47-
java-version: "17"
48-
distribution: "temurin"
49-
cache: "maven"
50-
51-
- name: Cache Maven packages
52-
uses: actions/cache@v4
53-
with:
54-
path: ~/.m2
55-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
56-
restore-keys: ${{ runner.os }}-m2
57-
58-
- name: Compile and run tests
59-
run: mvn clean compile test
37+
# test:
38+
# runs-on: ubuntu-latest
39+
40+
# steps:
41+
# - name: Checkout code
42+
# uses: actions/checkout@v4
43+
44+
# - name: Set up JDK 17
45+
# uses: actions/setup-java@v4
46+
# with:
47+
# java-version: "17"
48+
# distribution: "temurin"
49+
# cache: "maven"
50+
51+
# - name: Cache Maven packages
52+
# uses: actions/cache@v4
53+
# with:
54+
# path: ~/.m2
55+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
56+
# restore-keys: ${{ runner.os }}-m2
57+
58+
# - name: Compile and run tests
59+
# run: mvn clean compile test

0 commit comments

Comments
 (0)