Skip to content

Commit

Permalink
Add rustfmt component for rustfmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed May 27, 2024
1 parent 8ef7f41 commit 6b44c1b
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,8 @@ jobs:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Check formatting
uses: actions-rs/cargo@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
command: fmt
args: -- --check
components: rustfmt
- run: cargo fmt -- --check

0 comments on commit 6b44c1b

Please sign in to comment.