Check that listed components are installed even with a rust-toolchain file

This commit is contained in:
Jonas Bushart 2023-05-20 16:29:33 +02:00
parent ac6bb38f31
commit 03aaf6be76

View file

@ -48,6 +48,7 @@ jobs:
id: toolchain id: toolchain
with: with:
toolchain: ${{matrix.rust}} toolchain: ${{matrix.rust}}
components: clippy
- name: Check ${{'${{steps.toolchain.outputs.rustc-version}}'}} - name: Check ${{'${{steps.toolchain.outputs.rustc-version}}'}}
run: echo '${{steps.toolchain.outputs.rustc-version}}' run: echo '${{steps.toolchain.outputs.rustc-version}}'
- name: Check ${{'${{steps.toolchain.outputs.cargo-version}}'}} - name: Check ${{'${{steps.toolchain.outputs.cargo-version}}'}}
@ -62,4 +63,4 @@ jobs:
# Add tiny empty crate. # Add tiny empty crate.
# This checks that registry access works. # This checks that registry access works.
- run: cargo add serde_as - run: cargo add serde_as
- run: cargo check - run: cargo clippy