Skip to content

Commit 9d411be

Browse files
authored
Merge pull request #1917 from rust-lang/master
Deploy
2 parents 0c741d6 + 0b933a8 commit 9d411be

File tree

26 files changed

+349
-207
lines changed

26 files changed

+349
-207
lines changed

.github/workflows/main.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010

11+
- uses: dtolnay/rust-toolchain@stable
12+
with:
13+
components: rustfmt
14+
1115
- name: Formatting
12-
run: |
13-
# Install extra rustup components
14-
rustup component add rustfmt
15-
cargo fmt --all -- --check
16+
run: cargo fmt --all -- --check
1617

1718
- name: Test
1819
run: |
1920
set -euo pipefail
2021
IFS=$'\n\t'
2122
# Check if the code is good
2223
cargo build --all --locked
24+
cargo clippy -- --deny warnings
2325
cargo test --all --locked
2426
2527
- name: Build the Docker image

0 commit comments

Comments
 (0)