Skip to content

Commit

Permalink
accelerate ci (#103)
Browse files Browse the repository at this point in the history
* comment out tap homebrew core

* use cargo-binstall

* disable interactive mode when cargo binstall
  • Loading branch information
kuwata0037 committed Aug 15, 2023
1 parent 21059e8 commit 90f1b51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dot_Brewfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
# tap "homebrew/core"
brew "act"
brew "bat"
brew "chezmoi"
Expand Down
6 changes: 4 additions & 2 deletions run_once_install_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ install_rust() {
}

install_cargo_subcommand() {
if type cargo >/dev/null 2>&1; then
cargo install \
if type ~/.cargo/bin/cargo >/dev/null 2>&1; then
curl -L --proto '=https' --tlsv1.2 -sSf \
https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
~/.cargo/bin/cargo binstall -y \
cargo-edit \
cargo-nextest \
cargo-update
Expand Down

0 comments on commit 90f1b51

Please sign in to comment.