Skip to content

Commit

Permalink
Fix CI: install rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Jan 9, 2024
1 parent 93d7a2d commit fa84d0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Format check
run: cd tests && make check-code-format
- name: Install tools
run: cd tests && make install-all
- name: Format check
run: cd tests && make check-code-format
- name: Build contract
run: make all-via-docker
- name: Run all testcases
Expand Down
6 changes: 5 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ install-ckb-tools: \
install-ckb-debugger \
install-moleculec \
install-capsule \
install-cross
install-cross \
install-cargo-fmt

install-ckb-debugger:
ifeq ($(shell uname),Darwin)
Expand Down Expand Up @@ -135,6 +136,9 @@ endif
install-cross:
cargo install cross --git https://github.com/cross-rs/cross --root ./

install-cargo-fmt:
cargo install rustfmt

litecoin_tools_url=
monero_tools_url=
solana_tools_url=
Expand Down

0 comments on commit fa84d0b

Please sign in to comment.