improve AI Studio error handling #197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: push | |
jobs: | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install toolchain | |
uses: actions-rs/toolchain@master | |
with: | |
toolchain: nightly | |
default: true | |
profile: minimal | |
components: clippy | |
- name: Run Clippy | |
run: cargo clippy --features tdlib/dox -- -D warnings | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install toolchain | |
uses: actions-rs/toolchain@master | |
with: | |
toolchain: nightly | |
default: true | |
profile: minimal | |
components: rustfmt | |
- name: Run Rustfmt | |
run: cargo fmt --check |