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