Skip to content

Commit ee9defa

Browse files
committed
Added rustfmt install command
1 parent eee7f85 commit ee9defa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test-expand.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ SCRIPT_DIR=$(cd $(dirname $0); pwd)
66
TEST_FILE="test.rs"
77
FILE_HEAD="fn main() {}"
88

9+
if [ -v CI ];then
10+
rustup component add rustfmt
11+
fi
12+
913
for MODULE in ${TEST_MODULES[@]};do
1014
echo Test module $MODULE
1115
python3 $SCRIPT_DIR/../../expand.py $MODULE > $TMP_PATH/$TEST_FILE

0 commit comments

Comments
 (0)