mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-02 18:07:04 +00:00
ci.yml still runs its own jobs, and the CI workflow rules (CLAUDE.md, AGENTS.md) keep additions out of such files: moving the jobs into craft-common-actions is its own task. #1109 added prefix-key and save-if to both rust-cache steps; this removes them. The dev profile change from #1109 stays. The cache churn is raised as storytold/craft-common-actions#118. Co-authored-by: FredApps <FredApps@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,14 +42,7 @@ jobs:
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
# Only main saves; pull requests restore main's cache. A PR's own cache (up to 1.2 GB per OS)
|
||||
# is visible to that PR alone, and with the repository at its 10 GB limit the PR caches
|
||||
# evicted main's: Windows legs then found no cache and compiled every dependency.
|
||||
# v1: the dev profile dropped dependency debug info, and an existing key is never resaved.
|
||||
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
||||
with:
|
||||
prefix-key: v1-rust
|
||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
- name: Format
|
||||
if: runner.os == 'Linux'
|
||||
@@ -74,9 +67,7 @@ jobs:
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
||||
with:
|
||||
prefix-key: v1-rust
|
||||
key: wasm32
|
||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
- name: Check wasm-safe crates
|
||||
run: cargo xtask wasm
|
||||
- name: Clippy (wasm32)
|
||||
|
||||
Reference in New Issue
Block a user