Fix Github Actions warnings

Aperta
#1,696 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

@pschaub ci sta già lavorando.

Dal 21/10/2026.

  • #1703 di @pschaub — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
ci-cd

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Dockerfile
Stelle
4.1k
Fork
2k
Merge medio
34m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker-library/php

Tutte le issue di docker-library/php

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.