Merge pull request #8 from graelo/fix/ci

fix(ci): use dtolnay/rust-toolchain
This commit is contained in:
graelo 2022-12-10 19:29:08 +01:00 committed by GitHub
commit 419ab0aaa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 14 deletions

View file

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

View file

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

View file

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