Skip to content

Commit 955ff42

Browse files
authored
Add target to rust-toolchain action.
Signed-off-by: Josh Matthews <[email protected]>
1 parent 324559a commit 955ff42

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ jobs:
3030
uses: dtolnay/rust-toolchain@stable
3131
with:
3232
components: rustfmt, clippy
33+
targets: ${{ matrix.platform.target }}
3334

3435
- name: rustfmt
3536
run: cargo fmt --check
3637

37-
- name: rustup target install
38-
run: rustup target add '${{ matrix.platform.target }}'
39-
4038
- name: clippy
4139
uses: servo/actions/cargo-annotation@main
4240
with:

0 commit comments

Comments
 (0)