Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This unifies all CI related tasks into one workflow. In addition:
--release
fromcargo check
to save some cache space, it's currently using 1.5G of cache, which is too much for the 10G limit.Example Run: https://github.com/web-infra-dev/rspack/actions/runs/5086537787
馃 Generated by Copilot at 390196a
This pull request updates the CI pipeline for the rspack project, using custom actions for caching and a new workflow file
ci.yml
that runs various checks and tests on different platforms. It also deletes some unused or redundant workflow files and adds a new input parametersave-if
to the cache actions.Walkthrough
馃 Generated by Copilot at 390196a
ci.yml
that defines the main CI pipeline for the rspack project (link)save-if
to thepnpm-cache
andrust-cache
actions that allows the user to specify a condition for saving the cache (link, link)actions/cache
action with theactions/cache/restore
andactions/cache/save
actions in thepnpm-cache
action (link, link)check-rs.yaml
,common-check.yaml
, andtest.yml
workflow files, as they are replaced by theci.yml
workflow (link, link, link)