Skip to content

Commit dc08ffe

Browse files
authored
chore: update codecov gha to v2 (#39)
* chore: update codecov gha to v2 * fix snyk issues by updating dependencies
1 parent 05eeef7 commit dc08ffe

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/pr-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
args: jacocoTestReport
3535

3636
- name: Upload coverage to Codecov
37-
uses: codecov/codecov-action@v1
37+
uses: codecov/codecov-action@v2
3838
with:
3939
name: unit test reports
4040
fail_ci_if_error: true

platform-service-framework/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
api("com.typesafe:config:1.4.1")
1818

1919
// Use for thread dump servlet
20-
implementation("io.dropwizard.metrics:metrics-servlets:4.1.16")
20+
implementation("io.dropwizard.metrics:metrics-servlets:4.2.8")
2121
implementation("org.eclipse.jetty:jetty-servlet:9.4.44.v20210927")
2222

2323
// Use for metrics servlet
@@ -27,9 +27,6 @@ dependencies {
2727
implementation("org.apache.httpcomponents:httpclient:4.5.13")
2828

2929
constraints {
30-
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.2") {
31-
because("Multiple vulnerabilities")
32-
}
3330
implementation("commons-codec:commons-codec:1.15") {
3431
because("version 1.12 has a vulnerability https://snyk.io/vuln/SNYK-JAVA-COMMONSCODEC-561518")
3532
}

0 commit comments

Comments
 (0)