Skip to content

Commit

Permalink
Merge pull request #106 from dtolnay/noxargo
Browse files Browse the repository at this point in the history
Skip xargo installation for miri toolchain
  • Loading branch information
dtolnay authored Apr 14, 2024
2 parents 7164405 + c24b276 commit 9a6ad42
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/update-revs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ for tool in clippy miri; do
echo "Updating $tool branch"
git checkout --quiet --detach nightly
git branch --quiet --delete --force $tool &>/dev/null || true
if [ $tool == miri ]; then
default="miri, rust-src"
echo -e " - uses: dtolnay/install@xargo\n with:\n bin: xargo-check" >> action.yml
else
default=$tool
fi
default=$tool
if [ $tool == miri ]; then default+=,\ rust-src; fi
sed -i "/required: false/{N;s/\n$/\n default: $default\n/}" action.yml
git add action.yml
git commit --quiet --message "components: $tool"
Expand Down

0 comments on commit 9a6ad42

Please sign in to comment.