mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +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
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue