Skip to content

Commit

Permalink
ci: add a workaround for the macOS actions/cache bug
Browse files Browse the repository at this point in the history
actions/cache#403 tracks this issue.
rust-lang/cargo#8603 has the exact issue that we run into.
rrbutani committed Sep 1, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
rrbutani Rahul Butani
1 parent b34ac71 commit 41f2413
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/full.yml
Original file line number Diff line number Diff line change
@@ -252,6 +252,14 @@ jobs:
cargo-cache
cargo-sweep sweep -f
# Workaround for actions/cache#403 (https://github.com/actions/cache/issues/403)
#
# rust-lang/cargo#8603 has the exact bug that we run into
# (https://github.com/rust-lang/cargo/issues/8603)
- name: Flush the disk cache for macOS
if: matrix.os == 'macos-latest'
run: sudo /usr/sbin/purge

lint:
name: Format + run clippy

0 comments on commit 41f2413

Please sign in to comment.