bevyengine / bevyengine/bevy

Caching code for CI is too duplicated

Open
#20,236 0 comments 0 reactions 0 assignees View on GitHub
A-Build-System C-Code-Quality D-Modest S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

We have a ton of copy-pasted cache code so every adjustment or fix has to touch a lot of places and you're bound to miss one at some point.

I strongly suggest we create a composite action for that, which could be done directly in this repo, in `.github/actions`.
But if you want, it can be tackled in a separate PR :)

_Originally posted by @TimJentzsch in https://github.com/bevyengine/bevy/pull/20144#discussion_r2211433601_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the duplicated cache steps in the repository's CI workflows and the discussion in PR #20144. Define the composite action under `.github/actions`, then verify that the workflows use it consistently and that CI caching behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.