Fix Github Actions warnings

未关闭
#1,696 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

@pschaub 已经在做这个了。

开始于 2026年10月21日。

  • #1703 来自 @pschaub —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, go
领域
ci-cd

调研方向

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?

https://github.com/docker-library/php/blob/e3eaff845f7a9f7259c31da54dce0320b47a3bbd/.github/workflows/ci.yml#L47

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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

docker-library/php 的其他 Issue

查看 docker-library/php 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。