fix(ci): resolve GitHub Actions warnings#303
Merged
alphagocc merged 1 commit intoMay 13, 2026
Merged
Conversation
6813b45 to
21daae7
Compare
21daae7 to
dce00a3
Compare
- actions/setup-python@v4 -> @v6 (Node.js 24 compatible) - actions/setup-node@v4 -> @v6 (Node.js 24 compatible) - ilammy/msvc-dev-cmd@v1 -> TheMrMilchmann/setup-msvc-dev@v4.0.0 (Node.js 24 runtime) - Remove invalid 'mirror' input from install-qt-action (removed in v4) - Remove invalid 'cached' input from install-qt-action (renamed to 'cache') - Enable built-in cache in install-qt-action, remove redundant actions/cache step - Remove unnecessary 'brew install ninja pkg-config' step on macOS (pre-installed)
dce00a3 to
eae936b
Compare
Contributor
Author
|
为啥这个 ci 一会儿能过一会儿不能过 🤔 |
Member
|
测试有问题,我修不来 |
Contributor
Author
|
windows 挂和 linux 挂的原因好像还不一样,linux 的好像在下载依赖阶段就挂了。 |
Contributor
Author
|
而且我看好像 028cf9c 这次提交就没挂,这是因为这个问题是概率性触发的吗?那很有趣了 |
Contributor
Author
Member
|
windows 那个应该是概率性的。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

GitHub Actions 已宣布弃用 Node.js 20 运行时,当前 CI 中多个 Action 仍运行在 Node.js 20 上,导致产生弃用警告。
更新到 Node.js 24,同时由于
ilammy/msvc-dev-cmd已不再维护,不支持 Node.js 24,故更换为TheMrMilchmann/setup-msvc-dev@v4.0.0。移除了
install-qt-action@v4的mirror和cached,这些已经过时,并启用cache: true。删除
brew install ninja pkg-config步骤,这些已经预装不需要额外下载