From 9f0d2814d1dd354a3a2aec9753fc438c6301015f Mon Sep 17 00:00:00 2001 From: Sebastian Imlay Date: Sun, 21 Aug 2022 19:36:47 -0400 Subject: [PATCH] Use baptiste0928/cargo-install to install cargo-dinghy --- .github/workflows/ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff044b7..d5e304c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,17 +79,22 @@ jobs: name: Check that iOS tests pass via dinghy. runs-on: macos-latest steps: + + - name: Install cargo-dinghy + uses: baptiste0928/cargo-install@v1 + with: + crate: cargo-dinghy + + - name: Install Cargo Dinghy + if: matrix.dinghy && steps.extern-cache.outputs.cache-hit != 'true' + run: cargo install cargo-dinghy --version=^0.6.0 --root=$HOME/extern --target=x86_64-apple-darwin + - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable override: true target: x86_64-apple-ios - - uses: actions-rs/install@v0.1 - with: - crate: cargo-dinghy - version: latest - use-tool-cache: true - name: Launch XCode Simulator and prepare Dinghy run: |