Simplify check-examples job in CI

This commit is contained in:
andros21 2023-06-01 12:24:43 +02:00
parent 00f382e8b9
commit bc7ce18a13

View file

@ -132,7 +132,6 @@ jobs:
- name: Install Rust stable - name: Install Rust stable
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master
id: toolchain
with: with:
toolchain: stable toolchain: stable
@ -141,12 +140,12 @@ jobs:
- name: Check examples - name: Check examples
run: | run: |
cargo +${{ steps.toolchain.outputs.name }} check --examples --features full cargo +stable check --examples --features full
# TODO: prolly move it to a separate step? # TODO: prolly move it to a separate step?
- name: Check with no default features - name: Check with no default features
run: | run: |
cargo +${{ steps.toolchain.outputs.name }} check --no-default-features cargo +stable check --no-default-features
clippy: clippy:
name: Run linter name: Run linter