From b20aa9c7024854d71cb333eda02cc011fe983aa0 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Fri, 22 Oct 2021 21:18:28 +0200 Subject: [PATCH] fix(ci): specify explicit cargo-make version --- .github/scripts/ubuntu/Dockerfile | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- Compilation.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/scripts/ubuntu/Dockerfile b/.github/scripts/ubuntu/Dockerfile index 6fbba6e..b3c7eee 100644 --- a/.github/scripts/ubuntu/Dockerfile +++ b/.github/scripts/ubuntu/Dockerfile @@ -31,7 +31,7 @@ RUN set -eux; \ cargo --version; \ rustc --version; -RUN mkdir espanso && cargo install --force cargo-make +RUN mkdir espanso && cargo install --force cargo-make --version 0.34.0 COPY . espanso diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 519e97f..b881035 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: MACOSX_DEPLOYMENT_TARGET: "10.13" - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Run test suite run: cargo make test-binary - name: Build @@ -60,7 +60,7 @@ jobs: cargo clippy -p espanso --features wayland -- -D warnings - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Run test suite run: cargo make test-binary --env NO_X11=true - name: Build @@ -74,7 +74,7 @@ jobs: run: rustup update && rustup target add aarch64-apple-darwin - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Build run: | cargo make build-macos-arm-binary diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d41c8b9..9674a1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: echo Using version ${{ needs.extract-version.outputs.espanso_version }} - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Test run: cargo make test-binary --profile release - name: Build @@ -128,7 +128,7 @@ jobs: echo Using version ${{ needs.extract-version.outputs.espanso_version }} - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Test run: cargo make test-binary --profile release env: @@ -168,7 +168,7 @@ jobs: run: rustup update && rustup target add aarch64-apple-darwin - name: Install cargo-make run: | - cargo install --force cargo-make + cargo install --force cargo-make --version 0.34.0 - name: Build run: cargo make create-bundle --profile release --env BUILD_ARCH=aarch64-apple-darwin - name: Codesign executable diff --git a/Compilation.md b/Compilation.md index 8b936ed..860ffac 100644 --- a/Compilation.md +++ b/Compilation.md @@ -16,7 +16,7 @@ These are the basic tools required to build espanso: steps. You can install it by running: ``` -cargo install --force cargo-make +cargo install --force cargo-make --version 0.34.0 ``` # Linux