mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
cleanup according to toolchain action docs
This commit is contained in:
parent
5b81d72014
commit
015d409540
2 changed files with 4 additions and 8 deletions
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
|
|
@ -30,7 +30,6 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
|
||||
- name: Build
|
||||
|
|
|
|||
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
run: cargo clean -p serde_derive -p thiserror
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
components: clippy
|
||||
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
targets: x86_64-unknown-linux-musl
|
||||
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- name: Setup ARM toolchain
|
||||
|
|
@ -187,7 +187,6 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
|
||||
- run: cargo fmt -- --check
|
||||
|
|
@ -223,9 +222,7 @@ jobs:
|
|||
key: ubuntu-latest-${{ env.cache-name }}-nightly
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: nightly
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
|
||||
- name: cargo-udeps
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue