Skip to content

Commit 858e4e9

Browse files
Merge pull request #21 from codecov/codecov-action-v4
chore(ci): upgrade to codecov v4
2 parents d4f3a45 + 75ddefa commit 858e4e9

5 files changed

Lines changed: 265 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout
8-
uses: actions/checkout@v2
8+
uses: actions/checkout@v4
99
- name: Set up JDK 18
10-
uses: actions/setup-java@v1
10+
uses: actions/setup-java@v3
1111
with:
12+
distribution: 'oracle'
1213
java-version: 18
1314
- name: Install dependencies, run tests, and collect coverage
1415
run: gradle build
1516
- name: Upload coverage to Codecov
16-
uses: codecov/codecov-action@v3
17+
uses: codecov/codecov-action@v4
18+
env:
19+
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ repositories {
1212
}
1313

1414
dependencies {
15-
testImplementation "junit:junit:4.13"
15+
testImplementation "junit:junit:4.13.2"
1616
}
1717

1818
jacocoTestReport {
1919
reports {
20-
xml.enabled true
21-
html.enabled false
20+
xml.required = true
21+
html.required = false
2222
}
2323
}
2424

gradle/wrapper/gradle-wrapper.jar

62.2 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

gradlew

Lines changed: 249 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)