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.
  • Loading branch information
rrbutani committed Sep 1, 2020
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
Expand Up @@ -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

Expand Down

0 comments on commit 41f2413

Please sign in to comment.