Repository: dragonflyoss/Dragonfly2
Pull request #1635 (2022-09-02 06:11:33)

chore(deps): bump go.uber.org/zap from 1.21.0 to 1.23.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uber-go/zap/releases">go.uber.org/zap's releases</a>.</em></p>
<blockquote>
<h2>v1.23.0</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>[]: Add a <code>zapcore.LevelOf</code> function to determine the level of a
<code>LevelEnabler</code> or <code>Core</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>[]: Add <code>zap.Stringers</code> field constructor to log arrays of objects
that implement <code>String() string</code>.</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1147">uber-go/zap#1147</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1155">uber-go/zap#1155</a></p>
<h2>v1.22.0</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>[]: Add <code>zap.Objects</code> and <code>zap.ObjectValues</code> field constructors to log
arrays of objects. With these two constructors, you don't need to implement
<code>zapcore.ArrayMarshaler</code> for use with <code>zap.Array</code> if those objects implement
<code>zapcore.ObjectMarshaler</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>[]: Add <code>SugaredLogger.WithOptions</code> to build a copy of an existing
<code>SugaredLogger</code> with the provided options applied.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>[]: Add <code>*ln</code> variants to <code>SugaredLogger</code> for each log level.
These functions provide a string joining behavior similar to <code>fmt.Println</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>[]: Add <code>zap.WithFatalHook</code> option to control the behavior of the
logger for <code>Fatal</code>-level log entries. This defaults to exiting the program.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>[]: Add a <code>zap.Must</code> function that you can use with <code>NewProduction</code> or
<code>NewDevelopment</code> to panic if the system was unable to build the logger.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>[]: Add a <code>Logger.Log</code> method that allows specifying the log level for
a statement dynamically.</li>
</ul>
<p>Thanks to <a href="https://github.com/cardil"><code>@​cardil</code></a>, <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a>, <a href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>, <a href="https://github.com/shota3506"><code>@​shota3506</code></a>, and <a href="https://github.com/zhupeijun"><code>@​zhupeijun</code></a>
for their contributions to this release.</p>
<p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1071">uber-go/zap#1071</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1079">uber-go/zap#1079</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1080">uber-go/zap#1080</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1088">uber-go/zap#1088</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1108">uber-go/zap#1108</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1118">uber-go/zap#1118</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/uber-go/zap/blob/master/CHANGELOG.md">go.uber.org/zap's changelog</a>.</em></p>
<blockquote>
<h2>1.23.0 (24 Aug 2022)</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>[]: Add a <code>zapcore.LevelOf</code> function to determine the level of a
<code>LevelEnabler</code> or <code>Core</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>[]: Add <code>zap.Stringers</code> field constructor to log arrays of objects
that implement <code>String() string</code>.</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1147">uber-go/zap#1147</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1155">#1155</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1155">uber-go/zap#1155</a></p>
<h2>1.22.0 (8 Aug 2022)</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>[]: Add <code>zap.Objects</code> and <code>zap.ObjectValues</code> field constructors to log
arrays of objects. With these two constructors, you don't need to implement
<code>zapcore.ArrayMarshaler</code> for use with <code>zap.Array</code> if those objects implement
<code>zapcore.ObjectMarshaler</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>[]: Add <code>SugaredLogger.WithOptions</code> to build a copy of an existing
<code>SugaredLogger</code> with the provided options applied.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>[]: Add <code>*ln</code> variants to <code>SugaredLogger</code> for each log level.
These functions provide a string joining behavior similar to <code>fmt.Println</code>.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>[]: Add <code>zap.WithFatalHook</code> option to control the behavior of the
logger for <code>Fatal</code>-level log entries. This defaults to exiting the program.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>[]: Add a <code>zap.Must</code> function that you can use with <code>NewProduction</code> or
<code>NewDevelopment</code> to panic if the system was unable to build the logger.</li>
<li><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>[]: Add a <code>Logger.Log</code> method that allows specifying the log level for
a statement dynamically.</li>
</ul>
<p>Thanks to <a href="https://github.com/cardil"><code>@​cardil</code></a>, <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a>, <a href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>, <a href="https://github.com/shota3506"><code>@​shota3506</code></a>, and <a href="https://github.com/zhupeijun"><code>@​zhupeijun</code></a>
for their contributions to this release.</p>
<p><a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1071">#1071</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1071">uber-go/zap#1071</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1079">#1079</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1079">uber-go/zap#1079</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1080">#1080</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1080">uber-go/zap#1080</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1088">#1088</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1088">uber-go/zap#1088</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1108">#1108</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1108">uber-go/zap#1108</a>
<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1118">#1118</a>: <a href="https://github-redirect.dependabot.com/uber-go/zap/pull/1118">uber-go/zap#1118</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/uber-go/zap/commit/1ae5819539453056267ba3033697df2b231e8af8"><code>1ae5819</code></a> Release v1.23.0 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1157">#1157</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/23d6cc75062ae86d8b27f973f2878b387f7dec20"><code>23d6cc7</code></a> Add Stringers field constructor for slices of Stringer-compatible objects (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1">#1</a>...</li>
<li><a href="https://github.com/uber-go/zap/commit/1e46f5e6d5d0714ba826e0b7ccdbbad9eab79311"><code>1e46f5e</code></a> Issue Templates: Show a &quot;Discussions&quot; link for questions (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1152">#1152</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/92dded6872036cb9c4fa2b130e7034007ac789a6"><code>92dded6</code></a> Add issue template for questions (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1151">#1151</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/4a895a245ab794e3ae965783843a9fbc793083bc"><code>4a895a2</code></a> zapcore: Add LevelOf(LevelEnabler), UnknownLevel (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1147">#1147</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/19a5d8ab78285961f45bffddf88e5630bee984d5"><code>19a5d8a</code></a> Open: expose error cause, test for fs.ErrNotExist (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1149">#1149</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/bdd673d714c1278fd09836d7cf57ed60fa072bf4"><code>bdd673d</code></a> Replace os.TempDir usage with t.TempDir (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1146">#1146</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/4b03bc56483d64b4714462e513099701e62b43d3"><code>4b03bc5</code></a> Prepare release v1.22.0 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1145">#1145</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/ee349f9e2995499f66628dc573382939b6941b09"><code>ee349f9</code></a> CI: Lint against 1.19 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1141">#1141</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/7ee98d28331c26c2be992e3e6e6d199337204bb0"><code>7ee98d2</code></a> ci: add go1.19 (<a href="https://github-redirect.dependabot.com/uber-go/zap/issues/1140">#1140</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/uber-go/zap/compare/v1.21.0...v1.23.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/zap&package-manager=go_modules&previous-version=1.21.0&new-version=1.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

codecov-commenter: # [Codecov](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) Report
> Merging [#1635](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) (b6aeafd) into [main](https://codecov.io/gh/dragonflyoss/Dragonfly2/commit/11575824235728572ed6646426302b6d79cd624f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) (1157582) will **decrease** coverage by `0.18%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635/graphs/tree.svg?width=650&height=150&src=pr&token=PUICJYSAT7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss)](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss)

```diff
@@            Coverage Diff             @@
##             main    #1635      +/-   ##
==========================================
- Coverage   41.15%   40.97%   -0.19%     
==========================================
  Files         125      125              
  Lines       11547    11547              
==========================================
- Hits         4752     4731      -21     
- Misses       6286     6310      +24     
+ Partials      509      506       -3     
```

| Flag | Coverage Δ | |
|---|---|---|
| unittests | `40.97% <ø> (-0.19%)` | :arrow_down: |

Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#carryforward-flags-in-the-pull-request-comment) to find out more.

| [Impacted Files](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) | Coverage Δ | |
|---|---|---|
| [client/daemon/peer/peertask\_piecetask\_poller.go](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#diff-Y2xpZW50L2RhZW1vbi9wZWVyL3BlZXJ0YXNrX3BpZWNldGFza19wb2xsZXIuZ28=) | `31.03% <0.00%> (-15.87%)` | :arrow_down: |
| [...ent/daemon/peer/peertask\_piecetask\_synchronizer.go](https://codecov.io/gh/dragonflyoss/Dragonfly2/pull/1635/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#diff-Y2xpZW50L2RhZW1vbi9wZWVyL3BlZXJ0YXNrX3BpZWNldGFza19zeW5jaHJvbml6ZXIuZ28=) | `48.33% <0.00%> (+0.83%)` | :arrow_up: |


Patch:
diff --git a/.github/workflows/check-size.yml b/.github/workflows/check-size.yml
index 909c8bf4..ca20c85f 100644
--- a/.github/workflows/check-size.yml
+++ b/.github/workflows/check-size.yml
@@ -16,7 +16,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           fetch-depth: 1
 
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9b2fd000..90a80881 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,12 +20,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Install Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with:
           go-version: ${{ env.GO_VERSION }}
 
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -42,7 +42,7 @@ jobs:
           sudo make test-coverage
 
       - name: Upload coverage to Codecov
-        uses: codecov/codecov-action@v1
+        uses: codecov/codecov-action@v3
         with:
           token: ${{ secrets.CODECOV_TOKEN }}
           files: ./coverage.txt
@@ -55,7 +55,7 @@ jobs:
     needs: [test]
     steps:
       - name: Set up Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with:
           go-version: ${{ env.GO_VERSION }}
 
@@ -63,7 +63,7 @@ jobs:
         uses: docker-practice/actions-setup-docker@v1
 
       - name: Check out code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 711df87f..7e28349e 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -22,7 +22,7 @@ jobs:
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Initialize CodeQL
         uses: github/codeql-action/init@v2
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index af9f8d8f..09266428 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -24,7 +24,7 @@ jobs:
     timeout-minutes: 20
     steps:
       - name: Check out code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a2221202..f138046a 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,7 +16,7 @@ jobs:
     timeout-minutes: 10
     steps:
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Golangci lint
         uses: golangci/golangci-lint-action@v2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8dcf7bcd..a4640e9a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,13 +11,13 @@ jobs:
     timeout-minutes: 20
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           fetch-depth: 0
           submodules: recursive
 
       - name: Set up Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with:
           go-version: 1.18
 
diff --git a/go.mod b/go.mod
index 152cecdd..ca99d853 100644
--- a/go.mod
+++ b/go.mod
@@ -66,7 +66,7 @@ require (
 	go.opentelemetry.io/otel/sdk v1.9.0
 	go.opentelemetry.io/otel/trace v1.9.0
 	go.uber.org/atomic v1.9.0
-	go.uber.org/zap v1.21.0
+	go.uber.org/zap v1.23.0
 	golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
 	golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d
 	golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26
diff --git a/go.sum b/go.sum
index c14d7cea..7410efe1 100644
--- a/go.sum
+++ b/go.sum
@@ -1266,8 +1266,9 @@ go.uber.org/zap v1.14.1/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc=
 go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ=
 go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
 go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
-go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8=
 go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
+go.uber.org/zap v1.23.0 h1:OjGQ5KQDEUawVHxNwQgPpiypGHOxo2mNZsOqTak4fFY=
+go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY=
 golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=


Test patch:
diff --git a/.github/workflows/compatibility-e2e.yml b/.github/workflows/compatibility-e2e.yml
index 01e2ce35..abf58326 100644
--- a/.github/workflows/compatibility-e2e.yml
+++ b/.github/workflows/compatibility-e2e.yml
@@ -47,12 +47,12 @@ jobs:
             chart-name: seedPeer
     steps:
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
       - name: Install Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with:
           go-version: ${{ env.GO_VERSION }}
 
@@ -64,7 +64,7 @@ jobs:
           go mod vendor
 
       - name: Setup buildx
-        uses: docker/setup-buildx-action@v1
+        uses: docker/setup-buildx-action@v2
         id: buildx
         with:
           install: true
@@ -102,14 +102,14 @@ jobs:
         run: make actions-e2e-test-coverage
 
       - name: Upload coverage to Codecov
-        uses: codecov/codecov-action@v1
+        uses: codecov/codecov-action@v3
         with:
           token: ${{ secrets.CODECOV_TOKEN }}
           files: ./coverage.txt
           flags: ${{ matrix }}-compatibility-e2etests
 
       - name: Upload Logs
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         if: always()
         with:
           name: ${{ matrix.module }}-compatibility-e2e-tests-logs
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 9c4e2e98..3aaa9d5d 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -33,12 +33,12 @@ jobs:
             charts-config: test/testdata/charts/config-tls.yaml
     steps:
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
       - name: Install Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with:
           go-version: ${{ env.GO_VERSION }}
 
@@ -49,7 +49,7 @@ jobs:
           mkdir -p /tmp/artifact
 
       - name: Setup buildx
-        uses: docker/setup-buildx-action@v1
+        uses: docker/setup-buildx-action@v2
         id: buildx
         with:
           install: true
@@ -84,14 +84,14 @@ jobs:
           cat coverprofile.out >> coverage.txt
 
       - name: Upload coverage to Codecov
-        uses: codecov/codecov-action@v1
+        uses: codecov/codecov-action@v3
         with:
           token: ${{ secrets.CODECOV_TOKEN }}
           files: ./coverage.txt
           flags: e2etests
 
       - name: Upload Logs
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         if: always()
         with:
           name: ${{ matrix.module }}-e2e-tests-logs