Skip to content

Commit

Permalink
refactor: use with in actions-rust-lang/setup-rust-toolchain@v1 for a…
Browse files Browse the repository at this point in the history
…dding components
  • Loading branch information
KevFan committed Oct 13, 2023
1 parent ce8c92d commit a334b3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup component add rustfmt
with:
components: rustfmt
- run: cargo fmt --all -- --check

clippy:
Expand All @@ -61,7 +62,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup component add clippy
with:
components: clippy
- uses: abelfodil/protoc-action@v1
with:
protoc-version: '3.19.4'
Expand Down

0 comments on commit a334b3e

Please sign in to comment.