Skip to content

Conversation

@Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Sep 28, 2020

I spent the weekend to create a rust-tailored cache action which will:

  • cache the registry index, registry cache and target folder separately and with sensible cache/restore keys
  • sets CARGO_INCREMENTAL=0
  • cleans the registry cache and target folder to only include needed dependencies, thus avoiding infinite cache buildup
    (this means that even noop builds will still completely rebuild workspace crates)
  • also includes the macos cache corruption workaround

@Swatinem Swatinem marked this pull request as ready for review September 28, 2020 16:17
@Swatinem Swatinem requested a review from a team September 28, 2020 16:17
@Swatinem Swatinem merged commit 3534d85 into master Sep 29, 2020
@Swatinem Swatinem deleted the ci/smart-cache branch September 29, 2020 10:31
jan-auer added a commit that referenced this pull request Nov 25, 2020
* master: (59 commits)
  fix: Correctly apply environment from env (#293)
  fix: Make Rust 1.48 clippy happy (#294)
  docs: Document integrations and the Hub better (#291)
  ref: Remove deprecated error-chain and failure crates (#290)
  release: 0.21.0
  meta: Update Changelog
  feat: End sessions with explicit status (#289)
  fix: Scope transaction name can be overriden in sentry-actix (#287)
  fix: sentry-actix should not capture client errors (#286)
  fix: Clean up sentry-actix toml (#285)
  ref: Remove empty integrations (#283)
  feat: Add support for actix-web 3 (#282)
  feat: Preliminary work to integrate Performance Monitoring (#276)
  ref: Introduce a SessionFlusher (#279)
  fix: Set a default environment based on debug_assertions (#280)
  ref: Rearchitect the log and slog Integrations (#268)
  ref: Deprecate public fields on Integrations (#267)
  ci: Make testfast actually fast (#273)
  fix: Update surf and unbreak CI (#274)
  ci: Use smarter cache action (#272)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants