-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force new cargo and target caching to fix CI #1023
Conversation
- name: Cache Rust dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: /github/home/target | ||
# this key equals the ones on `linux-build-lib` for re-use | ||
key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }} | ||
key: ${{ runner.os }}-${{ matrix.arch }}-target-nightly-cache3-${{ matrix.rust }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given this job is using nightly and some comments suggested rustc was getting confused about what could be reused / not ensure this target isn't shared with stable versions
@@ -324,13 +322,12 @@ jobs: | |||
uses: actions/cache@v2 | |||
with: | |||
path: /github/home/.cargo | |||
# this key equals the ones on `linux-build-lib` for re-use | |||
key: cargo-cache2- | |||
key: cargo-wasm32-cache3- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make the naming consistent (already uses a different target cache, below)
Merging this PR in to get CI checks running cleanly again |
Which issue does this PR close?
closes #1022 (I hope)
Rationale for this change
The arrow CI tests that rely on nightly are crashing with some sort of rustc internal compiler error due to the internal serialization format changing.
for example: https://github.com/apache/arrow-rs/runs/4468916693?check_suite_focus=true
Also on master: https://github.com/apache/arrow-rs/runs/4474503693?check_suite_focus=true
As @b41sh pointed out #779 (comment), it seems to be a bug in rust: rust-lang/rust#91663
What changes are included in this PR?
Use a new cache key (and thus force clean builds)
Are there any user-facing changes?
No -- CI only