Skip to content

Commit ac15441

Browse files
committed
Add test CI
1 parent 1dc9753 commit ac15441

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: '/'
5+
schedule:
6+
interval: monthly

.github/workflows/test.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- "**.md"
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- "**.md"
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
java: [ '17', '21' ]
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v4
25+
- name: Set up Java
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
29+
java-version: ${{ matrix.java }}
30+
cache: 'maven'
31+
- name: Build & test
32+
run: |
33+
mvn --batch-mode --no-transfer-progress install

0 commit comments

Comments
 (0)