Add the zino-chatbot crate #537
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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install 1.83 | |
run: rustup install 1.83 | |
- name: Set default toolchain | |
run: rustup default 1.83 | |
- name: Update packages | |
run: sudo apt-get update | |
- name: Install libgtk | |
run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev | |
- name: Build | |
run: cargo build --features axum,full --verbose | |
- name: Run tests | |
run: cargo test --verbose |