Skip to content

Commit

Permalink
Merge pull request #1917 from rust-lang/master
Browse files Browse the repository at this point in the history
Deploy
  • Loading branch information
Manishearth committed Jan 25, 2024
2 parents 0c741d6 + 0b933a8 commit 9d411be
Show file tree
Hide file tree
Showing 26 changed files with 349 additions and 207 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt

- name: Formatting
run: |
# Install extra rustup components
rustup component add rustfmt
cargo fmt --all -- --check
run: cargo fmt --all -- --check

- name: Test
run: |
set -euo pipefail
IFS=$'\n\t'
# Check if the code is good
cargo build --all --locked
cargo clippy -- --deny warnings
cargo test --all --locked
- name: Build the Docker image
Expand Down
Loading

0 comments on commit 9d411be

Please sign in to comment.