Skip to content

Add support Bot API 7.5 #217

Add support Bot API 7.5

Add support Bot API 7.5 #217

Workflow file for this run

name: CI
env:
CARGO_TERM_COLOR: always
on:
push:
branches:
- dev-1.x
- master
pull_request: {}
permissions:
contents: read
jobs:
test-windows:
name: Test Windows
runs-on: windows-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --lib --tests --all --all-features
build-and-test-linux:
name: Build and test Linux
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --all --all-features
- name: Test
run: cargo test --lib --tests --all --all-features
check:
name: Check formatting and clippy
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@protoc
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check
run: cargo clippy --all --all-features -- -W clippy::pedantic
- name: rustfmt
run: cargo fmt --all --check