Skip to content

Commit bc19233

Browse files
committed
ci: bump versions of actions
1 parent 7cea373 commit bc19233

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/build_workflow.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,23 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- name: Checkout
11+
uses: actions/checkout@v4
1112
- name: Set up JDK 21
12-
uses: actions/setup-java@v1
13+
uses: actions/setup-java@v4
1314
with:
15+
distribution: temurin
1416
java-version: 21
15-
- name: Cache Maven packages
16-
uses: actions/cache@v2
17+
- name: Cache Maven dependencies
18+
uses: actions/cache@v3
1719
with:
18-
path: ~/.m2
19-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
20-
restore-keys: ${{ runner.os }}-m2
20+
path: ~/.m2/repository
21+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22+
restore-keys: |
23+
${{ runner.os }}-maven-
2124
- name: Build with Maven
2225
run: mvn clean install -ntp
2326
- name: Upload coverage to Codecov
24-
uses: codecov/codecov-action@v1
27+
uses: codecov/codecov-action@v5
28+
with:
29+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)