Skip to content
Merged
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
8 changes: 3 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ jobs:
run: cargo build --verbose --target ${{ matrix.target.name }}
if: matrix.target.name != 'aarch64-unknown-linux-gnu'
- name: Format
run: >
cargo +nightly --version || (
rustup toolchain install nightly &&
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
) &&
run: >
rustup toolchain install nightly &&
rustup component add --toolchain nightly rustfmt &&
cargo +nightly fmt --check
if: matrix.target.name == 'x86_64-unknown-linux-gnu'
- name: Run tests
Expand Down