File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
22on :
33 pull_request :
4- branches : [ master ]
4+ branches : [ main ]
55 push :
6- branches : [ master ]
6+ branches : [ main ]
77jobs :
88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - name : Checkout
12+ uses : actions/checkout@v4
1213 - name : Set up JDK 21
13- uses : actions/setup-java@v3
14+ uses : actions/setup-java@v4
1415 with :
15- distribution : ' temurin'
16+ distribution : temurin
1617 java-version : 21
17- - name : Cache Maven packages
18- uses : actions/cache@v3
18+ - name : Cache Maven dependencies
19+ uses : actions/cache@v4
1920 with :
20- path : ~/.m2
21- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
22- restore-keys : ${{ runner.os }}-m2
21+ path : ~/.m2/repository
22+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+ restore-keys : |
24+ ${{ runner.os }}-maven-
2325 - name : Build with Maven
2426 run : mvn clean install --no-transfer-progress
2527 - name : Upload coverage to Codecov
26- uses : codecov/codecov-action@v3
28+ uses : codecov/codecov-action@v5
You can’t perform that action at this time.
0 commit comments