Fix/dep cargo_toml: Bump to v0.12.1 (#418)

* Fix `cargo_toml`: Bump dep to v0.12.1
* Test `cargo-watch` in CI
* Fix `*-test-Cargo.toml` used in integration tests

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-09-25 13:01:57 +10:00 committed by GitHub
parent c86cba3cc4
commit ae9f536400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 5 deletions

View file

@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
[[bin]]
name = "cargo-binstall"
path = "src/main.rs"

View file

@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
[[bin]]
name = "cargo-binstall"
path = "src/main.rs"

View file

@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
[[bin]]
name = "cargo-binstall"
path = "src/main.rs"

View file

@ -7,14 +7,15 @@ unset CARGO_HOME
# Install binaries using cargo-binstall
# shellcheck disable=SC2086
"./$1" binstall --log-level debug --no-confirm b3sum cargo-binstall
"./$1" binstall --log-level debug --no-confirm b3sum cargo-binstall cargo-watch
# Test that the installed binaries can be run
b3sum --version
cargo-binstall --help >/dev/null
cargo binstall --help >/dev/null
cargo watch -V
test_resources=".github/scripts"
test_resources=".github/scripts/cargo-tomls"
# Install binaries using `--manifest-path`
"./$1" binstall --force --log-level debug --manifest-path "$test_resources/gitlab-test-Cargo.toml" --no-confirm cargo-binstall