Fix Github Actions warnings

Aberta
#1,696 0 comentários 2 reações 0 responsáveis Ver no GitHub

@pschaub já está trabalhando nisso.

Desde 21/10/2026.

  • #1703 de @pschaub — aberto

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, go
Domínio
ci-cd

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Dockerfile
Estrelas
4.1k
Forks
2k
Merge médio
34min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de docker-library/php

Todas as issues de docker-library/php

Issues semelhantes

Mais issues de DevOps

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.