fix(ci): use dtolnay/rust-toolchain

This commit is contained in:
graelo 2022-12-10 17:33:52 +01:00
parent b950f2ce22
commit 15a91f57f3
3 changed files with 6 additions and 14 deletions

View file

@ -16,11 +16,9 @@ jobs:
rust: [stable] rust: [stable]
steps: steps:
- name: Rust install - name: Rust install
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: Checkout - name: Checkout

View file

@ -16,11 +16,9 @@ jobs:
steps: steps:
- name: Rust install - name: Rust install
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: Checkout - name: Checkout
@ -112,12 +110,10 @@ jobs:
toolchain: stable toolchain: stable
steps: steps:
- name: Rust install - name: Rust install
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
profile: minimal targets: ${{ matrix.target }}
override: true
target: ${{ matrix.target }}
components: rustfmt, clippy components: rustfmt, clippy
- name: Checkout - name: Checkout

View file

@ -34,11 +34,9 @@ jobs:
# archive_ext: zip # archive_ext: zip
steps: steps:
- name: Rust install - name: Rust install
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@master
with: with:
toolchain: stable toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: checkout - name: checkout