Skip to content

[cherry-pick] Harden CI workflows (#1745) #2219

[cherry-pick] Harden CI workflows (#1745)

[cherry-pick] Harden CI workflows (#1745) #2219

Triggered via pull request May 20, 2026 06:03
Status Failure
Total duration 3m 0s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Build
Process completed with exit code 2.
Build: pkg/utils.go#L38
ST1019(related information): other import of "k8s.io/client-go/rest" (staticcheck)
Build: pkg/utils.go#L37
ST1019: package "k8s.io/client-go/rest" is being imported more than once (staticcheck)
Build: pkg/restore.go#L317
QF1004: could use strings.ReplaceAll instead (staticcheck)
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff, docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f, docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/elasticsearch/elasticsearch. Supported file pattern: go.sum