Skip to content

Commit 0abcb8c

Browse files
install rustfmt component
1 parent 854d995 commit 0abcb8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/bors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- name: Install Rust nightly
16-
run: rustup update --no-self-update nightly && rustup default nightly
16+
run: rustup update nightly && rustup default nightly && rustup component add rustfmt clippy
1717

1818
- name: Check the code formatting with rustfmt
1919
run: cargo fmt --all -- --check

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010

1111
- name: Install Rust nightly
12-
run: rustup update nightly && rustup default nightly
12+
run: rustup update nightly && rustup default nightly && rustup component add rustfmt clippy
1313

1414
- name: Check the code formatting with rustfmt
1515
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)