fix(ci): install explicit rust-script version to mitigate CI failure: https://github.com/fornwall/rust-script/issues/42
This commit is contained in:
parent
f062a8ec35
commit
38b4d437f3
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -33,8 +33,9 @@ jobs:
|
|||
cargo clippy -- -D warnings
|
||||
env:
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.13"
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Run test suite
|
||||
run: cargo make test-binary
|
||||
|
@ -58,8 +59,9 @@ jobs:
|
|||
run: |
|
||||
rustup component add clippy
|
||||
cargo clippy -p espanso --features wayland -- -D warnings
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Run test suite
|
||||
run: cargo make test-binary --env NO_X11=true
|
||||
|
@ -72,8 +74,9 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- name: Install target
|
||||
run: rustup update && rustup target add aarch64-apple-darwin
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -59,8 +59,9 @@ jobs:
|
|||
- name: Print target version
|
||||
run: |
|
||||
echo Using version ${{ needs.extract-version.outputs.espanso_version }}
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Test
|
||||
run: cargo make test-binary --profile release
|
||||
|
@ -126,8 +127,9 @@ jobs:
|
|||
- name: Print target version
|
||||
run: |
|
||||
echo Using version ${{ needs.extract-version.outputs.espanso_version }}
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Test
|
||||
run: cargo make test-binary --profile release
|
||||
|
@ -166,8 +168,9 @@ jobs:
|
|||
echo Using version ${{ needs.extract-version.outputs.espanso_version }}
|
||||
- name: Install rust target
|
||||
run: rustup update && rustup target add aarch64-apple-darwin
|
||||
- name: Install cargo-make
|
||||
- name: Install rust-script and cargo-make
|
||||
run: |
|
||||
cargo install rust-script --version "0.7.0"
|
||||
cargo install --force cargo-make --version 0.34.0
|
||||
- name: Build
|
||||
run: cargo make create-bundle --profile release --env BUILD_ARCH=aarch64-apple-darwin
|
||||
|
|
Loading…
Reference in New Issue
Block a user