Toolchain patch

This commit is contained in:
2023-08-18 21:51:56 +01:00
parent 9186bce956
commit 7e2975115f

View File

@@ -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