Build(deps): Bump anyhow from 1.0.89 to 1.0.93 #407
Workflow file for this run
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: Build/Test on Push or Pull Request | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.rs' | |
- 'Cargo.lock' | |
- 'Cargo.toml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.rs' | |
- 'Cargo.lock' | |
- 'Cargo.toml' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Client build | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: sqlite:bot.db | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: DB Migrations | |
run: | | |
sqlite3 bot.db < migrations/20220301134633_bot.sql | |
- name : Install python dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Build and Test | |
run: | | |
cargo build | |
cargo test |