Toolchain patch
This commit is contained in:
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
@@ -16,16 +16,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest nightly
|
- name: Install rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: nightly
|
|
||||||
components: rustfmt, clippy
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: $HOME/.cargo/bin/cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: $HOME/.cargo/bin/cargo test --verbose
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
- name: Formatting
|
- name: Formatting
|
||||||
|
|||||||
Reference in New Issue
Block a user