Skip to content

chore(ci): bump remaining actions/cache to v4 - #16532

Merged
EarthChen merged 1 commit into
apache:3.3from
pig-tongzhi:chore/bump-actions-cache-pr-workflow
Oct 21, 2026
Merged

EarthChen merged 1 commit into
apache:3.3from
pig-tongzhi:chore/bump-actions-cache-pr-workflow

Conversation

@pig-tongzhi

Copy link
Copy Markdown
Contributor

What

Follow-up to #16526: bump the two remaining actions/cache@v3 usages to v4 in
.github/workflows/build-and-test-pr.yml (2 lines, same file):

-        uses: actions/cache@v3
+        uses: actions/cache@v4

Both are the "Cache zookeeper binary archive" steps (id: cache-zookeeper).

Why

v3 of actions/cache is deprecated; #16526 already moved the three scheduled workflows to v4,
so after this change every actions/cache usage in .github/workflows is on v4.

Only the version tag changes — path, key, restore-keys and the step ids are untouched.

Scope

One file, two lines. Kept separate from #16526 so each PR stays small.

Note: build-and-test-scheduled-3.x.yml also uses actions/setup-java@v1 next to @v4. I left
that alone on purpose — setup-java@v4 requires a distribution input, so upgrading it is a
behavioural change rather than a mechanical bump. Happy to do it in a separate PR if you tell me
which distribution you want (e.g. temurin).

Thanks!

@codecov-commenter

codecov-commenter commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.91%. Comparing base (cb05763) to head (f7b363a).

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #16532      +/-   ##
============================================
+ Coverage     60.89%   60.91%   +0.01%     
- Complexity       15    11756   +11741     
============================================
  Files          1953     1953              
  Lines         89280    89280              
  Branches      13477    13476       -1     
============================================
+ Hits          54368    54385      +17     
+ Misses        29329    29311      -18     
- Partials       5583     5584       +1     
Flag Coverage Δ
integration-tests-java21 32.07% <ø> (+<0.01%) ⬆️
integration-tests-java8 32.15% <ø> (-0.06%) ⬇️
samples-tests-java21 32.08% <ø> (-0.04%) ⬇️
samples-tests-java8 29.72% <ø> (-0.09%) ⬇️
unit-tests-java11 59.13% <ø> (-0.02%) ⬇️
unit-tests-java17 58.61% <ø> (+<0.01%) ⬆️
unit-tests-java21 58.62% <ø> (-0.03%) ⬇️
unit-tests-java25 58.61% <ø> (+0.05%) ⬆️
unit-tests-java8 59.16% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@EarthChen EarthChen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EarthChen
EarthChen merged commit c731c89 into apache:3.3 Oct 21, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants