mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Simplify check-examples
job in CI
This commit is contained in:
parent
00f382e8b9
commit
bc7ce18a13
1 changed files with 2 additions and 3 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -132,7 +132,6 @@ jobs:
|
|||
|
||||
- name: Install Rust stable
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
id: toolchain
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
|
@ -141,12 +140,12 @@ jobs:
|
|||
|
||||
- name: Check examples
|
||||
run: |
|
||||
cargo +${{ steps.toolchain.outputs.name }} check --examples --features full
|
||||
cargo +stable check --examples --features full
|
||||
|
||||
# TODO: prolly move it to a separate step?
|
||||
- name: Check with no default features
|
||||
run: |
|
||||
cargo +${{ steps.toolchain.outputs.name }} check --no-default-features
|
||||
cargo +stable check --no-default-features
|
||||
|
||||
clippy:
|
||||
name: Run linter
|
||||
|
|
Loading…
Reference in a new issue