Skip to content

Commit abf9534

Browse files
Update java-pr-check.yml
1 parent 9fa2d44 commit abf9534

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/java-pr-check.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- name: Set up JDK 8
19+
- name: Set up JDK 17
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '8'
23-
distribution: 'adopt'
24-
22+
java-version: '17'
23+
distribution: 'temurin'
24+
cache: maven
2525
- name: Build with Maven
26-
run: mvn clean install
26+
run: mvn -B package --file pom.xml
2727

28-
- name: Run tests
29-
run: mvn test
28+
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
29+
- name: Update dependency graph
30+
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 commit comments

Comments
 (0)