Skip to content

Commit

Permalink
Fix taplo build (#1126)
Browse files Browse the repository at this point in the history
Use taplo rev that contains hotfix
  • Loading branch information
sea212 authored Sep 27, 2023
1 parent 851c803 commit ac4e05e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:

- name: Install build tools
run: ./scripts/init.sh

- uses: actions-rs/[email protected]
with:
crate: taplo-cli

# TODO(#1125): Use actions-rs/install for Taplo once stable
# - uses: actions-rs/[email protected]
# with:
# crate: taplo-cli

- name: Cache Dependencies
uses: Swatinem/rust-cache@v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ taplo_fmt() {
has_taplo=$(which taplo)
if [ $? -eq 1 ]; then
echo "Installing taplo ..."
cargo install taplo-cli
cargo install taplo-cli --git https://github.com/tamasfe/taplo --rev 848722f2c604de68535e5a3e0bb2a2c1d3c7dc74
fi
# install rustfmt if it isn't already
has_rustfmt=$(which rustfmt)
Expand Down

0 comments on commit ac4e05e

Please sign in to comment.