Skip to content

Commit 9f5f200

Browse files
committed
Update test GHA
1 parent 955fb00 commit 9f5f200

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,24 @@ name: Tests
22

33
on:
44
push:
5-
branches:
6-
- main
7-
5+
branches: [ main ]
86
pull_request:
9-
branches:
10-
- main
7+
branches: [ main ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
1111

1212
jobs:
1313
build_and_test:
1414

1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
20-
- name: Set up JDK 1.8
21-
uses: actions/setup-java@v1
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-java@v4
2220
with:
23-
java-version: 1.8
21+
distribution: 'temurin'
22+
java-version: 17
2423

2524
- name: Cache Maven packages
2625
uses: actions/cache@v2

0 commit comments

Comments
 (0)