Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ jobs:
runs-on: ubuntu-latest
name: fmt
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Stable Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install `rustfmt`
run: rustup component add rustfmt --toolchain 1.84.1
toolchain: 1.90.0
components: clippy,rustfmt

- name: cargo fmt --check
run: cargo fmt --check
Expand All @@ -42,12 +39,10 @@ jobs:
submodules: true

- name: Stable Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install `clippy`
run: rustup component add clippy --toolchain 1.84.1
toolchain: 1.90.0
components: clippy

- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
Expand Down
Loading
Loading