Skip to content

Commit 5b3d7b2

Browse files
committed
ci: install rustfmt and clippy
1 parent 444dab5 commit 5b3d7b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
# figure out native target triple while we're at it
9090
- name: install rust-toolchain
9191
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
92+
- name: Install rustup components
93+
run: rustup component add rustfmt clippy
9294
- name: xtask cargo fetch --locked
9395
run: cd xtask && cargo fetch --locked --target $TARGET
9496
- name: xtask build
@@ -112,6 +114,8 @@ jobs:
112114
# figure out native target triple while we're at it
113115
- name: install rust-toolchain
114116
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
117+
- name: Install rustup components
118+
run: rustup component add rustfmt clippy
115119
- name: xtask cargo fetch --locked
116120
run: cd xtask && cargo fetch --locked
117121
- name: xtask build

0 commit comments

Comments
 (0)