MacOS github CI workaround (#411)

This commit is contained in:
Richard Menzies 2020-11-07 23:02:11 +00:00 committed by GitHub
parent 1f674ac2c3
commit 7351ab4a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,6 @@ jobs:
- uses: actions/checkout@v2
- name: Restore cargo cache
if: matrix.os != 'macos-latest'
uses: actions/cache@v2
env:
cache-name: ci
@ -33,6 +32,10 @@ jobs:
target
key: ${{ matrix.os }}-${{ env.cache-name }}-${{ matrix.rust }}-${{ hashFiles('Cargo.lock') }}
- name: MacOS Workaround
if: matrix.os == 'macos-latest'
run: cargo clean --locked -p serde_derive -p thiserror
- name: Install Rust
uses: actions-rs/toolchain@v1
with: