Skip to content

Commit 9ea3570

Browse files
committed
ci: test Maven build on Java 17
1 parent 708344d commit 9ea3570

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
test:
18+
name: Maven tests (Java 17)
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 20
21+
22+
steps:
23+
- name: Check out source
24+
uses: actions/checkout@v6
25+
26+
- name: Set up Java 17
27+
uses: actions/setup-java@v5
28+
with:
29+
distribution: temurin
30+
java-version: '17'
31+
cache: maven
32+
33+
- name: Build and test
34+
run: mvn --batch-mode --no-transfer-progress clean verify

0 commit comments

Comments
 (0)