fix(ci): specify explicit cargo-make version

This commit is contained in:
Federico Terzi 2021-10-22 21:18:28 +02:00
parent d9d7966cfc
commit b20aa9c702
4 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ RUN set -eux; \
cargo --version; \ cargo --version; \
rustc --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 COPY . espanso

View File

@ -35,7 +35,7 @@ jobs:
MACOSX_DEPLOYMENT_TARGET: "10.13" MACOSX_DEPLOYMENT_TARGET: "10.13"
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Run test suite - name: Run test suite
run: cargo make test-binary run: cargo make test-binary
- name: Build - name: Build
@ -60,7 +60,7 @@ jobs:
cargo clippy -p espanso --features wayland -- -D warnings cargo clippy -p espanso --features wayland -- -D warnings
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Run test suite - name: Run test suite
run: cargo make test-binary --env NO_X11=true run: cargo make test-binary --env NO_X11=true
- name: Build - name: Build
@ -74,7 +74,7 @@ jobs:
run: rustup update && rustup target add aarch64-apple-darwin run: rustup update && rustup target add aarch64-apple-darwin
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Build - name: Build
run: | run: |
cargo make build-macos-arm-binary cargo make build-macos-arm-binary

View File

@ -61,7 +61,7 @@ jobs:
echo Using version ${{ needs.extract-version.outputs.espanso_version }} echo Using version ${{ needs.extract-version.outputs.espanso_version }}
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Test - name: Test
run: cargo make test-binary --profile release run: cargo make test-binary --profile release
- name: Build - name: Build
@ -128,7 +128,7 @@ jobs:
echo Using version ${{ needs.extract-version.outputs.espanso_version }} echo Using version ${{ needs.extract-version.outputs.espanso_version }}
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Test - name: Test
run: cargo make test-binary --profile release run: cargo make test-binary --profile release
env: env:
@ -168,7 +168,7 @@ jobs:
run: rustup update && rustup target add aarch64-apple-darwin run: rustup update && rustup target add aarch64-apple-darwin
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
- name: Build - name: Build
run: cargo make create-bundle --profile release --env BUILD_ARCH=aarch64-apple-darwin run: cargo make create-bundle --profile release --env BUILD_ARCH=aarch64-apple-darwin
- name: Codesign executable - name: Codesign executable

View File

@ -16,7 +16,7 @@ These are the basic tools required to build espanso:
steps. You can install it by running: steps. You can install it by running:
``` ```
cargo install --force cargo-make cargo install --force cargo-make --version 0.34.0
``` ```
# Linux # Linux