File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments