Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Jun 22, 2023
1 parent 5cb84b0 commit d6cd5e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,19 @@ jobs:
- uses: actions/checkout@v3

# Use nightly Rust to check the format
- uses: dtolnay/rust-toolchain@nightly
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt, clippy
override: true
- name: Check Format
run: cargo fmt --all -- --check
# Switch to stable Rust
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.67.0
components: rustfmt, clippy
override: true
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Install Protoc
Expand Down

0 comments on commit d6cd5e5

Please sign in to comment.