Fix Github Actions warnings
评估
调研方向
Start with .github/workflows/ci.yml at the cited checkout step and inspect the workflow’s cache setup around the Generate Jobs step. The issue suggests updating actions/checkout and asks why the Go cache cannot find go.mod; trace those workflow settings to identify the warning sources. Done means both warnings are addressed and the affected workflow run completes without them.
由索引模型根据 Issue 内容生成。
描述
While waiting for the hotfix pipeline to pass, I noticed there are some warnings under the Github Actions.
Generate Jobs
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
-> Easily fixed by updating actions/checkout to v7
-> maybe consider dependabot just for the Github Actions?
Generate Jobs
Restore cache failed: Dependencies file is not found in /home/runner/work/php/php. Supported file pattern: go.mod
Not too sure what root cause of this is?
- 主要语言
- Dockerfile
- 星标
- 4.1k
- 派生
- 2k
- 平均合并
- 34 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/php 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
docker-library/php#1674 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
docker-library/php#1715 · 4 条评论 · 5 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 55/100
docker-library/php#1711 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker-library/php#1707 · 4 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 20/100
docker-library/php#1706 · 1 个 reaction ·
查看 docker-library/php 的全部 Issue
相似的 Issue
-
area:security effort:S priority:P3 status:needs-triage type:chore
难度 2/5 1-3 小时 新手友好度 78/100
randomparity/kdive#3657 ·
维护者通常 1 天内回复
-
automation chore ci-cd consistency developer-experience difficulty: easy discoverability documentation enhancement github-actions good first issue help wanted hygiene priority: P3 seo shell yaml
难度 1/5 1 小时以内 新手友好度 76/100
-
kind/features
难度 2/5 1-3 小时 新手友好度 75/100
TencentBlueKing/bk-nodemgr#4017 ·
维护者通常 1 天内回复
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 78/100
madenvel/KalinkaPlayer#594 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
equinor/radix-operator#2066 ·
维护者通常 2 天内回复