Skip to content

Commit

Permalink
MOD: ci, install nightly toolchain.
Browse files Browse the repository at this point in the history
  • Loading branch information
web3Softcloud committed Dec 4, 2023
1 parent c9b4fa3 commit 87d51f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: Install Rustfmt
run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
run: rustup component add rustfmt --toolchain nightly
- name: check
run: cargo check --all-features
- name: fmt-check
Expand Down

0 comments on commit 87d51f4

Please sign in to comment.