File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " maven"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
7+ - package-ecosystem : " github-actions"
8+ directory : " /"
9+ schedule :
10+ interval : " daily"
Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+ name : Java CI with Maven
5+ permissions :
6+ contents : read
7+
8+ on :
9+ push :
10+ branches : [ master ]
11+ pull_request :
12+ branches : [ master ]
13+
14+ jobs :
15+ build :
16+
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Git Checkout
21+ uses : actions/checkout@v6
22+
23+ - name : Setup JDK 17
24+ uses : actions/setup-java@v5
25+ with :
26+ java-version : ' 17'
27+ distribution : ' adopt'
28+ cache : maven
29+
30+ - name : Start Redis Server
31+ uses : supercharge/redis-github-action@v2
32+
33+ - name : Run Tests
34+ run : mvn clean test -Dgithub=true
35+
You can’t perform that action at this time.
0 commit comments