Skip to content

handle SIGTERM and SIGINT signals #182

handle SIGTERM and SIGINT signals

handle SIGTERM and SIGINT signals #182

Workflow file for this run

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