Skip to content

Commit 6174e6e

Browse files
authored
Merge pull request #48 from yersan/issue-47
[#47] Add github actions and depdenabot configuration
2 parents 57e6064 + c2e7397 commit 6174e6e

2 files changed

Lines changed: 63 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
# Keep GitHub Actions up to date
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
open-pull-requests-limit: 10
9+
labels:
10+
- "dependencies"
11+
- "github-actions"
12+
13+
# Disable automatic Maven dependency updates
14+
- package-ecosystem: "maven"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
open-pull-requests-limit: 0
19+
labels:
20+
- "dependencies"
21+
- "maven"

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI Build
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '.gitignore'
7+
- 'LICENSE'
8+
- 'README.md'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- '.gitignore'
14+
- 'LICENSE'
15+
- 'README.md'
16+
workflow_dispatch:
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
java: [17, 21, 25]
25+
26+
name: Build with JDK ${{ matrix.java }}
27+
28+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@v5
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Set up JDK ${{ matrix.java }}
35+
uses: actions/setup-java@v4
36+
with:
37+
java-version: ${{ matrix.java }}
38+
distribution: 'temurin'
39+
cache: maven
40+
41+
- name: Build and test
42+
run: mvn clean install

0 commit comments

Comments
 (0)